Skip to content

Commit c81db96

Browse files
committed
RP2040 connect: compile error with Ethernet.h
1 parent f5462a0 commit c81db96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ typedef uint32_t eps32_i2s_sample_rate_type;
510510
#endif
511511

512512
// The Pico W has WIFI support: but platformio is messing up, so we support NO_WIFI
513-
#if defined(ARDUINO_ARCH_RP2040) && LWIP_IPV4==1 &&!defined(NO_WIFI)
513+
#if defined(ARDUINO_NANO_RP2040_CONNECT) && LWIP_IPV4==1 &&!defined(NO_WIFI)
514514
# include <WiFi.h>
515515
# define USE_WIFI
516516
# define USE_WIFI_CLIENT_SECURE

0 commit comments

Comments
 (0)