From d1998c6678ef86b266d5c01521753c73c356c026 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Tue, 19 Mar 2019 11:31:16 -0700 Subject: [PATCH] ESP32 doesn't have mDNS update() --- src/WebOTA.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WebOTA.cpp b/src/WebOTA.cpp index 9a6bf11..89cef33 100644 --- a/src/WebOTA.cpp +++ b/src/WebOTA.cpp @@ -66,7 +66,9 @@ int WebOTA::handle() { } OTAServer.handleClient(); +#ifdef ESP8266 MDNS.update(); +#endif } long WebOTA::max_sketch_size() {