Skip to content

Commit 928dcc3

Browse files
committed
variants: XIAO NRF52: Enable status LED
Fix the active state of the LEDs (active low) and enable the status LED. Signed-off-by: Frieder Schrempf <[email protected]>
1 parent ceeaae1 commit 928dcc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

variants/xiao_nrf52/variant.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ extern "C"
3434
#define LED_RED (11)
3535
#define LED_GREEN (13)
3636
#define LED_BLUE (12)
37+
#define PIN_STATUS_LED (LED_BLUE)
3738

38-
#define LED_STATE_ON (1) // State when LED is litted
39+
#define LED_STATE_ON (0) // State when LED is on
3940

4041
// Buttons
4142
#define PIN_BUTTON1 (0)

0 commit comments

Comments
 (0)