Skip to content

Commit

Permalink
remove pyluos polling
Browse files Browse the repository at this point in the history
  • Loading branch information
houkhouk committed May 30, 2024
1 parent 20c75ee commit abec4bd
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 abec4bd

Please sign in to comment.