Skip to content

Commit

Permalink
ESP32's mDNS doesn't have an update function, guard accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
hobinjk committed Mar 18, 2019
1 parent 97edbf7 commit 139384b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ESPWebThingAdapter.h
Expand Up @@ -72,7 +72,9 @@ class WebThingAdapter {
}

void update() {
#ifdef ESP8266
MDNS.update();
#endif
}

void addDevice(ThingDevice* device) {
Expand Down

1 comment on commit 139384b

@willdurand
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.