mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Fix mdnsSetConfig in mdnsSetup
This commit is contained in:
parent
8b80a331d8
commit
2c3dcfeb73
@ -20,7 +20,8 @@ const float haspVersion = 0.38;
|
||||
|
||||
void mdnsSetup(const JsonObject & settings)
|
||||
{
|
||||
mqttSetConfig(settings);
|
||||
mdnsSetConfig(settings);
|
||||
debugPrintln(F("MDNS: Setup Complete"));
|
||||
}
|
||||
|
||||
void mdnsStart()
|
||||
@ -46,7 +47,7 @@ void mdnsStart()
|
||||
}
|
||||
}
|
||||
|
||||
void mdnsLoop(bool wifiIsConnected)
|
||||
void mdnsLoop()
|
||||
{
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
if(mdnsEnabled) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "ArduinoJson.h"
|
||||
|
||||
void mdnsSetup(const JsonObject & settings);
|
||||
void mdnsLoop(bool wifiIsConnected);
|
||||
void mdnsLoop(void);
|
||||
void mdnsStart(void);
|
||||
void mdnsStop(void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user