From 8455defa7a1014d99d2c0fa06e30bf54bbda0978 Mon Sep 17 00:00:00 2001 From: Daniel Peter Chokola Date: Sun, 16 Feb 2025 15:54:16 -0500 Subject: [PATCH] properly define Wio-E5 LED pin --- variants/wio-e5/variant.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/variants/wio-e5/variant.h b/variants/wio-e5/variant.h index ac92915bb..7795b0701 100644 --- a/variants/wio-e5/variant.h +++ b/variants/wio-e5/variant.h @@ -18,4 +18,9 @@ Do not expect a working Meshtastic device with this target. #define LED_PIN PB5 #define LED_STATE_ON 1 +#if (defined(LED_BUILTIN) && LED_BUILTIN == PNUM_NOT_DEFINED) +#undef LED_BUILTIN +#define LED_BUILTIN (LED_PIN) +#endif + #endif