From bc7b40986c3370a266725b20c64c8120cfa733f4 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Thu, 18 Jul 2024 10:01:20 +0200 Subject: [PATCH] RP2040 connect: compile error with Ethernet.h --- src/AudioConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AudioConfig.h b/src/AudioConfig.h index 48ab873987..e103aa6a04 100644 --- a/src/AudioConfig.h +++ b/src/AudioConfig.h @@ -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 # define USE_WIFI # define USE_WIFI_CLIENT_SECURE