mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Fix hostname for DHCP request
This commit is contained in:
parent
f5c45272e5
commit
d7b3f66327
16
src/main.cpp
16
src/main.cpp
@ -47,6 +47,14 @@ void setup()
|
|||||||
gpioSetup();
|
gpioSetup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HASP_USE_ETHERNET > 0
|
||||||
|
ethernetSetup();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if HASP_USE_MQTT > 0
|
||||||
|
mqttSetup(); // Load Hostname before starting WiFi
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_WIFI > 0
|
#if HASP_USE_WIFI > 0
|
||||||
wifiSetup();
|
wifiSetup();
|
||||||
#endif
|
#endif
|
||||||
@ -64,14 +72,6 @@ void setup()
|
|||||||
otaSetup();
|
otaSetup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_ETHERNET > 0
|
|
||||||
ethernetSetup();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HASP_USE_MQTT > 0
|
|
||||||
mqttSetup();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HASP_USE_HTTP > 0
|
#if HASP_USE_HTTP > 0
|
||||||
httpSetup();
|
httpSetup();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user