fix bug in OTA leading to freeze during upgrade if music playback is running during upgrade
wait for free space in flac write callback if none can be aquired. Signed-off-by: Karl Osterseher <karl_osterseher@gmx.at>
This commit is contained in:
@@ -88,10 +88,10 @@ static void event_handler(void *arg, esp_event_base_t event_base, int event_id,
|
||||
|
||||
esp_wifi_connect();
|
||||
s_retry_num++;
|
||||
ESP_LOGI(TAG, "retry to connect to the AP");
|
||||
ESP_LOGV(TAG, "retry to connect to the AP");
|
||||
}
|
||||
|
||||
ESP_LOGI(TAG, "connect to the AP fail");
|
||||
ESP_LOGV(TAG, "connect to the AP fail");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user