1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

allows global object instances be switch off with defines (#2344)

This commit is contained in:
Clemens Kirchgatterer
2016-08-01 05:21:50 +02:00
committed by Ivan Grokhotkov
parent bd01e44c76
commit 18297458be
26 changed files with 72 additions and 11 deletions

View File

@ -1046,4 +1046,6 @@ void MDNSResponder::_reply(uint8_t replyMask, char * service, char *proto, uint1
_conn->send();
}
MDNSResponder MDNS = MDNSResponder();
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_MDNS)
MDNSResponder MDNS;
#endif