feat: refresh managed audio after OTA activation

This commit is contained in:
chenjintao
2026-10-12 16:47:58 +08:00
parent 886ea58419
commit 84ce54eeb0
8 changed files with 574 additions and 45 deletions
@@ -0,0 +1,7 @@
#ifndef BANBAN_HTTP_DOWNFILE_H
#define BANBAN_HTTP_DOWNFILE_H
void app_file_check_download(void);
void app_file_check_del(void);
#endif
@@ -0,0 +1,11 @@
#ifndef BANBAN_OTA_POST_UPDATE_H
#define BANBAN_OTA_POST_UPDATE_H
/*
* Prepare server-managed audio refresh only after the running APP version
* matches the persisted OTA target. Returns 1 when files were removed for
* refresh, 0 when no refresh is pending, and a negative value on error.
*/
int ota_prepare_post_update_audio_refresh(void);
#endif