mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
@ -36,21 +36,9 @@
|
||||
#include <WiFiClient.h>
|
||||
#include <ESP8266WebServer.h>
|
||||
#include <time.h>
|
||||
|
||||
/*
|
||||
Include the MDNSResponder (the library needs to be included also)
|
||||
As LEA MDNSResponder is experimantal in the ESP8266 environment currently, the
|
||||
legacy MDNSResponder is defaulted in th include file.
|
||||
There are two ways to access LEA MDNSResponder:
|
||||
1. Prepend every declaration and call to global declarations or functions with the namespace, like:
|
||||
'LEAmDNS::MDNSResponder::hMDNSService hMDNSService;'
|
||||
This way is used in the example. But be careful, if the namespace declaration is missing
|
||||
somewhere, the call might go to the legacy implementation...
|
||||
2. Open 'ESP8266mDNS.h' and set LEAmDNS to default.
|
||||
|
||||
*/
|
||||
#include <ESP8266mDNS.h>
|
||||
#include <PolledTimeout.h>
|
||||
#include <ESP8266mDNS.h>
|
||||
|
||||
/*
|
||||
Global defines and vars
|
||||
*/
|
||||
|
Reference in New Issue
Block a user