mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
move sleep init at the very end of boot (all must be initialized)
This commit is contained in:
@@ -73,6 +73,7 @@ static bool bNetworkConnected=false;
|
||||
|
||||
// as an exception _init function don't need include
|
||||
extern void services_init(void);
|
||||
extern void services_sleep_init(void);
|
||||
extern void display_init(char *welcome);
|
||||
extern void led_vu_init(void);
|
||||
extern void target_init(char *target);
|
||||
@@ -463,5 +464,6 @@ void app_main()
|
||||
}
|
||||
free(fwurl);
|
||||
}
|
||||
services_sleep_init();
|
||||
messaging_post_message(MESSAGING_INFO,MESSAGING_CLASS_SYSTEM,"System started");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user