mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Move dispatchSetup to main setup for oobe support
This commit is contained in:
parent
96dddbb5b2
commit
489ccd4034
@ -319,7 +319,6 @@ static void custom_font_apply_cb(lv_theme_t* th, lv_obj_t* obj, lv_theme_style_t
|
||||
*/
|
||||
void haspSetup(void)
|
||||
{
|
||||
dispatchSetup();
|
||||
haspDevice.set_backlight_level(haspStartDim);
|
||||
|
||||
/******* File System Test ********************************************************************/
|
||||
|
@ -58,7 +58,8 @@ void setup()
|
||||
#endif
|
||||
|
||||
guiSetup();
|
||||
debugSetup(); // Init the console
|
||||
debugSetup(); // Init the console
|
||||
dispatchSetup(); // for hasp and oobe
|
||||
|
||||
#if HASP_USE_CONFIG > 0
|
||||
if(!oobeSetup())
|
||||
|
@ -110,6 +110,7 @@ void setup()
|
||||
// debugSetup(); // Init the console
|
||||
|
||||
printf("%s %d\n", __FILE__, __LINE__);
|
||||
dispatchSetup(); // for hasp and oobe
|
||||
haspSetup();
|
||||
|
||||
#if HASP_USE_MQTT > 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user