From 876ef0cb9de8de5ada90d6b86e0f85e62a2bfff8 Mon Sep 17 00:00:00 2001 From: Maxime COZZI Date: Thu, 30 May 2024 13:24:16 +0200 Subject: [PATCH] remove pyluos polling --- tool_services/gate/gate.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tool_services/gate/gate.c b/tool_services/gate/gate.c index a8f4b20d2..e51246707 100644 --- a/tool_services/gate/gate.c +++ b/tool_services/gate/gate.c @@ -60,14 +60,6 @@ void Gate_Loop(void) { LastReceptionDate = Luos_GetSystick(); } - else if ((Luos_GetSystick() - LastReceptionDate > 1000) && (gate_running == RUNNING)) - { - if ((Luos_GetSystick() - LastVoidMsg) > TimeOD_TimeTo_ms(update_time)) - { - LastVoidMsg = Luos_GetSystick(); - Convert_VoidData(gate); - } - } } void Gate_msgHandler(service_t *service, const msg_t *msg)