We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 328bd83 commit 9b74bb6Copy full SHA for 9b74bb6
src/Arduino_ConnectionHandler.h
@@ -54,6 +54,13 @@
54
#define NETWORK_CONNECTED WL_CONNECTED
55
#endif
56
57
+#if defined(BOARD_HAS_PORTENTA_VISION_SHIELD_ETHERNET)
58
+ #include <Ethernet.h>
59
+ #include <PortentaEthernet.h>
60
+
61
+ #define BOARD_HAS_ETHERNET
62
+#endif
63
64
#if defined(ARDUINO_NICLA_VISION)
65
#include <WiFi.h>
66
#include <WiFiUdp.h>
@@ -107,12 +114,6 @@
107
114
#define WIFI_FIRMWARE_VERSION_REQUIRED WIFI_FIRMWARE_REQUIRED
108
115
109
116
110
-#if defined(BOARD_HAS_PORTENTA_VISION_SHIELD_ETHERNET)
111
- #define BOARD_HAS_ETHERNET
112
-
113
- #include <Ethernet.h>
-#endif
117
/******************************************************************************
118
INCLUDES
119
******************************************************************************/
0 commit comments