vic/drivers/shared_all/src/alarms.c
bool
raise_alarm(alarm_struct *alarm,
            dmy_struct   *dmy_current)
{
    if (((alarm->freq == FREQ_NSTEPS) &&
         (alarm->next_count == (int) alarm->count)) ||
        (dmy_equal(dmy_current, &(alarm->next_dmy)))) {
        return true;
    }
    else {
        return false;
    }
}
/******************************************************************************
 * @brief   This routine raises an alarm
 *****************************************************************************/
@brief   This routine raises an alarm
@brief This routine raises an alarm
bool
raise_alarm(alarm_struct *alarm,
            dmy_struct   *dmy_current)
{
    if (((alarm->freq == FREQ_NSTEPS) &&
         (alarm->next_count == (int) alarm->count)) ||
        (dmy_equal(dmy_current, &(alarm->next_dmy)))) {
        return true;
    }
    else {
        return false;
    }
}
bool raise_alarm ( alarm_struct * alarm , dmy_struct * dmy_current ) { if ( ( ( alarm -> freq == FREQ_NSTEPS ) && ( alarm -> next_count == ( int ) alarm -> count ) ) || ( dmy_equal ( dmy_current , & ( alarm -> next_dmy ) ) ) ) { return true ; } else { return false ; } }
@brief   This routine raises an alarm
@brief This routine raises an alarm