diff --git a/wifi_manager/main/dns_server.c b/wifi_manager/main/dns_server.c index 355ef77a..7a966bf4 100644 --- a/wifi_manager/main/dns_server.c +++ b/wifi_manager/main/dns_server.c @@ -160,6 +160,8 @@ void dns_server(void *pvParameters) { ESP_LOGE(TAG, "UDP sendto failed: %d", err); } } + + vTaskDelay( (TickType_t)10); /* allows the freeRTOS scheduler to take over if needed. DNS daemon should not be taxing on the system */ } close(socket_fd);