From 139384b05c0cf233940e370b18d10de5f296b2fc Mon Sep 17 00:00:00 2001 From: James Hobin Date: Mon, 18 Mar 2019 11:48:18 -0400 Subject: [PATCH] ESP32's mDNS doesn't have an update function, guard accordingly --- ESPWebThingAdapter.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESPWebThingAdapter.h b/ESPWebThingAdapter.h index fa1b331..e701c9d 100644 --- a/ESPWebThingAdapter.h +++ b/ESPWebThingAdapter.h @@ -72,7 +72,9 @@ class WebThingAdapter { } void update() { +#ifdef ESP8266 MDNS.update(); +#endif } void addDevice(ThingDevice* device) {