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