Fixes #2635 - Not tested yet

This commit is contained in:
Bertrand Songis
2015-08-23 09:21:45 +02:00
parent 3075ad857e
commit a8db4c4fa5
6 changed files with 14 additions and 46 deletions
+3 -3
View File
@@ -188,15 +188,15 @@ void evalTimers(int16_t throttle, uint8_t tick10ms)
timerState->val = newTimerVal;
if (timerState->state == TMR_RUNNING) {
if (g_model.timers[i].countdownBeep && g_model.timers[i].start) {
if (newTimerVal==30) {
if (newTimerVal == 30) {
AUDIO_TIMER_30();
// TRACE("Timer[%d] 30s announcement", i);
}
if (newTimerVal==20) {
if (newTimerVal == 20) {
AUDIO_TIMER_20();
// TRACE("Timer[%d] 20s announcement", i);
}
if (newTimerVal<=10) {
if (newTimerVal <= 10) {
AUDIO_TIMER_LT10(g_model.timers[i].countdownBeep, newTimerVal);
// TRACE("Timer[%d] %ds announcement", i, newTimerVal);
}