Skip to content

Commit 5ef4af3

Browse files
authored
Merge pull request #18 from arduino-libraries/fix-esp8266
Bugfix - WifiConnectionHandler was not included when compiling for ESP8266
2 parents ed2df29 + c41fa2d commit 5ef4af3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Arduino_TcpIpConnectionHandler.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ class TcpIpConnectionHandler : public ConnectionHandler {
4646

4747
};
4848

49-
#if defined(ARDUINO_SAMD_MKRWIFI1010) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_NANO_33_IOT)
49+
#if defined(BOARD_HAS_WIFI)
5050
#include "Arduino_WiFiConnectionHandler.h"
51-
#elif defined(ARDUINO_SAMD_MKRGSM1400)
51+
#elif defined(BOARD_HAS_GSM)
5252
#include "Arduino_GSMConnectionHandler.h"
5353
#elif defined(BOARD_HAS_NB)
5454
#include "Arduino_NBConnectionHandler.h"

0 commit comments

Comments
 (0)