Some more network changes.

This commit is contained in:
OBattler
2022-02-20 02:00:23 +01:00
parent 4d56f89fb2
commit b4c1e801c5
3 changed files with 17 additions and 8 deletions

View File

@@ -204,9 +204,13 @@ network_wait(uint8_t wait)
void
network_poll(void)
{
network_wait(0);
while (poll_data.busy)
thread_wait_event(poll_data.wake_poll_thread, -1);
network_wait(1);
thread_reset_event(poll_data.wake_poll_thread);
}