diff --git a/306-controller_interface.X/middleware/blinker.c b/306-controller_interface.X/middleware/blinker.c index f8a948f..c3aee55 100644 --- a/306-controller_interface.X/middleware/blinker.c +++ b/306-controller_interface.X/middleware/blinker.c @@ -53,7 +53,7 @@ bool BLINKER_processEvent(Event* ev) { case STBL_ON: if (me->nBlinkIsOn) { - me->remainBlinks--; + me->remainBlinks = (me->remainBlinks) - 1; } if (evid == evBLtimer) { me->state = STBL_OFF;