Bugfix Zero runtime not reset runtime while charger connected

I can't repro the users issue guessing its the difference with
charging monitor vs not

https://forums.rockbox.org/index.php/topic,55406.0.html

Change-Id: I252f48cd24a9cb0fb2b899352fe9f9ac540a9a5b
This commit is contained in:
William Wilgus 2025-07-19 09:12:29 -04:00
parent 29e0303915
commit 31c8c0496b
3 changed files with 11 additions and 4 deletions

View file

@ -262,13 +262,15 @@ enum { ALARM_START_WPS = 0,
/** function prototypes **/
void reset_runtime(void);
void update_runtime(void);
void zero_runtime(void);
void settings_load(void) INIT_ATTR;
bool settings_load_config(const char* file, bool apply);
void status_save(bool force);
int settings_save(void);
void reset_runtime(void);
/* defines for the options paramater */
enum {
SETTINGS_SAVE_CHANGED = 0,