Skip to content

Commit 373b2e8

Browse files
committed
Add a delay while checking end of wifi task
1 parent 5bb7282 commit 373b2e8

File tree

1 file changed

+1
-0
lines changed
  • k210-freertos/mpy_support/standard_lib/network

1 file changed

+1
-0
lines changed

k210-freertos/mpy_support/standard_lib/network/modwifi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,7 @@ static int wifi_endTask(bool wait)
11131113
wifi_exit_task = true;
11141114
xSemaphoreGive(mpy_uarts[wifi_uart_num].uart_mutex);
11151115

1116+
vTaskDelay(100 / portTICK_RATE_MS); // TS added
11161117
if (wait) {
11171118
int tmo = 0;
11181119
while (task_s != 0) {

0 commit comments

Comments
 (0)