mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 11:16:45 +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()
|
configSetup(); // also runs debugSetup(), debugStart() and consoleSetup()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HASP_USE_WIFI > 0 || HASP_USE_ETHERNET > 0
|
||||||
|
networkSetup();
|
||||||
|
timeSetup();
|
||||||
|
#endif
|
||||||
|
|
||||||
dispatchSetup(); // before hasp and oobe, asap after logging starts
|
dispatchSetup(); // before hasp and oobe, asap after logging starts
|
||||||
guiSetup();
|
guiSetup();
|
||||||
|
|
||||||
@ -78,10 +83,7 @@ void setup()
|
|||||||
gpioSetup();
|
gpioSetup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_WIFI > 0 || HASP_USE_ETHERNET > 0
|
|
||||||
networkSetup();
|
|
||||||
timeSetup();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HASP_USE_MDNS > 0
|
#if HASP_USE_MDNS > 0
|
||||||
mdnsSetup();
|
mdnsSetup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user