From 983d229ee84c742a23854d0cae46db70fe106a69 Mon Sep 17 00:00:00 2001 From: Luc <8822552+luc-github@users.noreply.github.com> Date: Sat, 29 Feb 2020 20:35:44 +0100 Subject: [PATCH] Update esp3d.cpp add missing mdns.update(); for ESP8266 in loop thanks @dmonty2 for pointing this --- esp3d/esp3d.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/esp3d/esp3d.cpp b/esp3d/esp3d.cpp index db29d2ee..32451a80 100644 --- a/esp3d/esp3d.cpp +++ b/esp3d/esp3d.cpp @@ -255,6 +255,11 @@ void Esp3D::begin(uint16_t startdelayms, uint16_t recoverydelayms) //Process which handle all input void Esp3D::process() { +#ifdef ARDUINO_ARCH_ESP8266 +#ifdef MDNS_FEATURE + wifi_config.mdns.update(); +#endif +#endif #if !defined(ASYNCWEBSERVER) //web requests for sync web_interface->web_server.handleClient();