Fixes !switch conditions in timers

Resolves #175
This commit is contained in:
Raphael Coeffic
2021-06-10 15:02:34 +02:00
parent 1a0ea1b3cb
commit 7bbfa0e3d3
+1 -1
View File
@@ -74,7 +74,7 @@ void evalTimers(int16_t throttle, uint8_t tick10ms)
for (uint8_t i=0; i<TIMERS; i++) {
tmrmode_t timerMode = g_model.timers[i].mode;
tmrstart_t timerStart = g_model.timers[i].start;
uint16_t timerSwtch = g_model.timers[i].swtch;
int16_t timerSwtch = g_model.timers[i].swtch;
TimerState * timerState = &timersStates[i];
if (timerMode) {