properly define Wio-E5 LED pin

This commit is contained in:
Daniel Peter Chokola 2025-02-16 15:54:16 -05:00
parent f02628ad0a
commit 8455defa7a

View File

@ -18,4 +18,9 @@ Do not expect a working Meshtastic device with this target.
#define LED_PIN PB5 #define LED_PIN PB5
#define LED_STATE_ON 1 #define LED_STATE_ON 1
#if (defined(LED_BUILTIN) && LED_BUILTIN == PNUM_NOT_DEFINED)
#undef LED_BUILTIN
#define LED_BUILTIN (LED_PIN)
#endif
#endif #endif