krembot/src/sand_timer/SandTimer.cpp
void SandTimer::start(millis_time_t period)
{
    if (!started_)
    {
        // calibrating “period”
        setPeriod(period * PERIOD_RATIO);
        start_time_ = millis();
        started_ = true;
    }
}
/* start timer. if already started, do nothing */
start timer. if already started, do nothing
start timer . if already started do nothing
void SandTimer::start(millis_time_t period)
{
    if (!started_)
    {
        setPeriod(period * PERIOD_RATIO);
        start_time_ = millis();
        started_ = true;
    }
}
void SandTimer :: start ( millis_time_t period ) { if ( ! started_ ) { setPeriod ( period * PERIOD_RATIO ) ; start_time_ = millis ( ) ; started_ = true ; } }
start timer.
start timer .
// calibrating “period”