mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-22 18:56:34 +00:00
Initialize network before HASP #342
This commit is contained in:
parent
1981b1f89e
commit
8fa7a43f2e
@ -55,6 +55,11 @@ void setup()
|
||||
configSetup(); // also runs debugSetup(), debugStart() and consoleSetup()
|
||||
#endif
|
||||
|
||||
#if HASP_USE_WIFI > 0 || HASP_USE_ETHERNET > 0
|
||||
networkSetup();
|
||||
timeSetup();
|
||||
#endif
|
||||
|
||||
dispatchSetup(); // before hasp and oobe, asap after logging starts
|
||||
guiSetup();
|
||||
|
||||
@ -78,10 +83,7 @@ void setup()
|
||||
gpioSetup();
|
||||
#endif
|
||||
|
||||
#if HASP_USE_WIFI > 0 || HASP_USE_ETHERNET > 0
|
||||
networkSetup();
|
||||
timeSetup();
|
||||
#endif
|
||||
|
||||
|
||||
#if HASP_USE_MDNS > 0
|
||||
mdnsSetup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user