|
TB2026-YDS Firmware
|
Shared low-priority task that periodically drives background chores. More...

Files | |
| file | components/services/maintenance/maintenance.c |
| Maintenance task: periodically runs background chores (volume/player polls, power_tick, autonomy_tick, SD hot-plug watch, idle auto power-off, diag). | |
Functions | |
| esp_err_t | maintenance_init (void) |
| Start the maintenance task. | |
Shared low-priority task that periodically drives background chores.
| esp_err_t maintenance_init | ( | void | ) |
Start the maintenance task.
Idempotent. The drivers used by the tenants (fuel gauge, GPIO expander) must be initialised before this runs.