move sleep init at the very end of boot (all must be initialized)

This commit is contained in:
philippe44
2023-09-22 15:27:27 -07:00
parent 72a8fb2249
commit dc9e1191a2
3 changed files with 4 additions and 2 deletions

View File

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