Skip to content

Commit 4de5e7e

Browse files
authored
Update ArduinoOTA.cpp
1 parent a6e2e0e commit 4de5e7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/ArduinoOTA/src/ArduinoOTA.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef LWIP_OPEN_SRC
22
#define LWIP_OPEN_SRC
33
#endif
4+
#if CONFIG_MDNS_MAX_INTERFACES
5+
46
#include <functional>
57
#include "ArduinoOTA.h"
68
#include "NetworkClient.h"
@@ -390,3 +392,5 @@ void ArduinoOTAClass::setTimeout(int timeoutInMillis) {
390392
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_ARDUINOOTA)
391393
ArduinoOTAClass ArduinoOTA;
392394
#endif
395+
396+
#endif /* CONFIG_MDNS_MAX_INTERFACES */

0 commit comments

Comments
 (0)