mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
Added taskYield after wifi start
This commit is contained in:
@@ -230,6 +230,7 @@ void wifi_manager_init_wifi(){
|
||||
ESP_ERROR_CHECK( esp_wifi_set_mode(WIFI_MODE_NULL) );
|
||||
ESP_LOGD(TAG, "Initializing wifi. Starting wifi");
|
||||
ESP_ERROR_CHECK( esp_wifi_start() );
|
||||
taskYIELD(); /* allows the freeRTOS scheduler to take over if needed. */
|
||||
ESP_LOGD(TAG, "Initializing wifi. done");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user