mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +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();
|
||||
#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
|
||||
wifiSetup();
|
||||
#endif
|
||||
@ -64,14 +72,6 @@ void setup()
|
||||
otaSetup();
|
||||
#endif
|
||||
|
||||
#if HASP_USE_ETHERNET > 0
|
||||
ethernetSetup();
|
||||
#endif
|
||||
|
||||
#if HASP_USE_MQTT > 0
|
||||
mqttSetup();
|
||||
#endif
|
||||
|
||||
#if HASP_USE_HTTP > 0
|
||||
httpSetup();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user