From 397b77ab5a1d398fa385d83a6c04cafad1407c05 Mon Sep 17 00:00:00 2001 From: Klagarge Date: Fri, 1 Sep 2023 13:23:26 +0200 Subject: [PATCH] fix alive break --- 306-controller_interface.X/middleware/alive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/306-controller_interface.X/middleware/alive.c b/306-controller_interface.X/middleware/alive.c index 674e32e..e661ded 100644 --- a/306-controller_interface.X/middleware/alive.c +++ b/306-controller_interface.X/middleware/alive.c @@ -92,7 +92,7 @@ bool ALIVE_processEvent(Event* ev) { } if (me->aliveTime == 0) { if (me->haveBreak){ - me->state == STAL_BREAK; + me->state = STAL_BREAK; } } else { ALIVE_emitPoll(me, me->aliveTime*10, 0);