Skip to content

Commit 4f817d6

Browse files
authored
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 <[email protected]>
1 parent de83b44 commit 4f817d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/stm32/wio-e5/variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Do not expect a working Meshtastic device with this target.
1515
#define USE_STM32WLx
1616

1717
#define LED_PIN PB5
18-
#define LED_STATE_ON 1
18+
#define LED_STATE_ON 0
1919

2020
#define WIO_E5
2121

0 commit comments

Comments
 (0)