Skip to content

Commit

Permalink
correct bad ifdef definition
Browse files Browse the repository at this point in the history
  • Loading branch information
1technophile committed Jan 18, 2018
1 parent 425a0ee commit 3613d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenMQTTGateway.ino
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void setup_wifi() {
trc(F("WiFi ok"));
}

#ifdef defined(MDNS_SD) && defined(ESP8266)
#if defined(MDNS_SD) && defined(ESP8266)
void connectMQTTmdns(){
if (!MDNS.begin("ESP_MQTT")) {
trc(F("Error setting up MDNS responder!"));
Expand Down

0 comments on commit 3613d01

Please sign in to comment.