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:
Karl Osterseher
2025-03-02 21:13:35 +01:00
Unverified
parent 4eb01805fe
commit cec14ad15b
7 changed files with 2019 additions and 41 deletions

View File

@@ -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");
}
}