From 4f817d69eb03fefd37b89995bf0ccd09433df155 Mon Sep 17 00:00:00 2001 From: Andrew Yong Date: Fri, 31 Oct 2025 18:55:07 +0800 Subject: [PATCH] fix(wio-e5): Fix LED state inversion (#8500) Wio-E5 currently has LED appearing to be steadily on, due to incorrect LED_STATE_ON (it is actually briefly flashing off, but visually it is hard to perceive). Wio-E5 has LED between GPIO PB5 and VCC, so LED_STATE_ON should be 0 for LED to blink correctly. With this commit, it is now flashing correctly. Refer to schematics: * [Wio-E5 Development Kit](https://files.seeedstudio.com/products/113990934/LoRa-E5%20Dev%20Board%20v1.0.pdf) * [Wio-E5 mini](https://files.seeedstudio.com/products/113990939/LoRa-E5%20mini%20v1.0.pdf) Signed-off-by: Andrew Yong --- variants/stm32/wio-e5/variant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variants/stm32/wio-e5/variant.h b/variants/stm32/wio-e5/variant.h index 6098b4ce6..a312b31bd 100644 --- a/variants/stm32/wio-e5/variant.h +++ b/variants/stm32/wio-e5/variant.h @@ -15,7 +15,7 @@ Do not expect a working Meshtastic device with this target. #define USE_STM32WLx #define LED_PIN PB5 -#define LED_STATE_ON 1 +#define LED_STATE_ON 0 #define WIO_E5