Skip to content

Commit

Permalink
RP2040 connect: compile error with Ethernet.h
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Jul 18, 2024
1 parent d9c765b commit bc7b409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AudioConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ typedef uint32_t eps32_i2s_sample_rate_type;
#endif

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

0 comments on commit bc7b409

Please sign in to comment.