diff --git a/306-controller_interface.X/middleware/alive.c b/306-controller_interface.X/middleware/alive.c index e661ded..1565dd3 100644 --- a/306-controller_interface.X/middleware/alive.c +++ b/306-controller_interface.X/middleware/alive.c @@ -142,6 +142,7 @@ bool ALIVE_processEvent(Event* ev) { break; case STAL_SETUP: + me->checker = true; if (me->setup.f != NULL) { me->setup.f(me->setup.p); } @@ -166,6 +167,7 @@ bool ALIVE_processEvent(Event* ev) { break; case STAL_ALIVE: + me->sender = true; break; case STAL_BREAK: