mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 21:56:35 +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)
|
void haspSetup(void)
|
||||||
{
|
{
|
||||||
dispatchSetup();
|
|
||||||
haspDevice.set_backlight_level(haspStartDim);
|
haspDevice.set_backlight_level(haspStartDim);
|
||||||
|
|
||||||
/******* File System Test ********************************************************************/
|
/******* File System Test ********************************************************************/
|
||||||
|
@ -58,7 +58,8 @@ void setup()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
guiSetup();
|
guiSetup();
|
||||||
debugSetup(); // Init the console
|
debugSetup(); // Init the console
|
||||||
|
dispatchSetup(); // for hasp and oobe
|
||||||
|
|
||||||
#if HASP_USE_CONFIG > 0
|
#if HASP_USE_CONFIG > 0
|
||||||
if(!oobeSetup())
|
if(!oobeSetup())
|
||||||
|
@ -110,6 +110,7 @@ void setup()
|
|||||||
// debugSetup(); // Init the console
|
// debugSetup(); // Init the console
|
||||||
|
|
||||||
printf("%s %d\n", __FILE__, __LINE__);
|
printf("%s %d\n", __FILE__, __LINE__);
|
||||||
|
dispatchSetup(); // for hasp and oobe
|
||||||
haspSetup();
|
haspSetup();
|
||||||
|
|
||||||
#if HASP_USE_MQTT > 0
|
#if HASP_USE_MQTT > 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user