From 682dca2bb15a2f187d7623dbc3fa7c5cd523d961 Mon Sep 17 00:00:00 2001 From: Klagarge Date: Mon, 4 Sep 2023 15:21:23 +0200 Subject: [PATCH] fix blinker --- 306-controller_interface.X/middleware/blinker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;