I had updated the core libraries, and now get an error in the LEAmDNS.cpp file.
Espressif 8266 library version 2.0.4
Compiling .pioenvs\RACETRACKER2\libe29\ESP8266mDNS\LEAmDNS_Control.cpp.o
C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp: In lambda function:
C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp:100:76: error: 'schedule_function' was not declared in this scope
schedule_function(std::bind(&MDNSResponder::_restart, this));
^
C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp: In lambda function:
C:\Users\user.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266mDNS\src\LEAmDNS.cpp:106:76: error: 'schedule_function' was not declared in this scope
schedule_function(std::bind(&MDNSResponder::_restart, this));
^
Compiling .pioenvs\project_name\libe29\ESP8266mDNS\LEAmDNS_Helpers.cpp.o
*** [.pioenvs\project_name\libe29\ESP8266mDNS\LEAmDNS.cpp.o] Error 1
I had updated the core libraries, and now get an error in the LEAmDNS.cpp file. Espressif 8266 library version 2.0.4