correct CI and differentiate MDNS for ESP8266
This commit is contained in:
1 parent
67894743b1
commit
db4b436e19
2 files changed
+4
-3
No files matched your search
+2
-2
@@ -212,7 +212,7 @@ void setup()
|
||||
digitalWrite(led_send, HIGH);
|
||||
#endif
|
||||
|
||||
#ifdef MDNS_SD
|
||||
#if defined(MDNS_SD) && defined(ESP8266)
|
||||
trc(F("Connecting to MQTT by mDNS without mqtt hostname"));
|
||||
connectMQTTmdns();
|
||||
#else
|
||||
@@ -295,7 +295,7 @@ void setup_wifi() {
|
||||
trc(F("WiFi ok"));
|
||||
}
|
||||
|
||||
#ifdef MDNS_SD
|
||||
#ifdef defined(MDNS_SD) && defined(ESP8266)
|
||||
void connectMQTTmdns(){
|
||||
if (!MDNS.begin("ESP_MQTT")) {
|
||||
trc(F("Error setting up MDNS responder!"));
|
||||
|
||||
Reference in new issue
Block a user