mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-14 13:41:23 +03:00
formalization of LEA's mdns rewrite (#5450)
* formalization of LEA's mdns rewrite (code), minor changes to polledTimeout * fix typo * Fix mdns examples
This commit is contained in:
15
libraries/ESP8266mDNS/src/LEAmDNS.cpp
Executable file → Normal file
15
libraries/ESP8266mDNS/src/LEAmDNS.cpp
Executable file → Normal file
@ -24,10 +24,12 @@
|
||||
|
||||
#include "LEAmDNS_Priv.h"
|
||||
|
||||
namespace esp8266 {
|
||||
|
||||
/*
|
||||
* LEAmDNS
|
||||
*/
|
||||
namespace LEAmDNS {
|
||||
namespace MDNSImplementation {
|
||||
|
||||
/**
|
||||
* STRINGIZE
|
||||
@ -1107,14 +1109,9 @@ MDNSResponder::hMDNSService MDNSResponder::enableArduino(uint16_t p_u16Port,
|
||||
return hService;
|
||||
}
|
||||
|
||||
/*
|
||||
* MDNS responder global instance
|
||||
*/
|
||||
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_MDNS)
|
||||
MDNSResponder MDNS;
|
||||
#endif
|
||||
|
||||
} // namespace LEAmDNS
|
||||
|
||||
} //namespace MDNSImplementation
|
||||
|
||||
} //namespace esp8266
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user