Skip to content

Commit

Permalink
Merge pull request #490 from houkhouk/fix/pyluos_poll
Browse files Browse the repository at this point in the history
Fix/pyluos poll
  • Loading branch information
nicolas-rabault authored Jun 11, 2024
2 parents 7f05ee5 + 876ef0c commit 9113050
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tool_services/gate/gate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9113050

Please sign in to comment.