Skip to content

Commit

Permalink
stm32/boards/NUCLEO_WB55: Fix LED ordering.
Browse files Browse the repository at this point in the history
These were commented correctly by their colour, but in the wrong order with
respect to the PCB silkscreen.

Fixes issue #8054.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
  • Loading branch information
jimmo authored and dpgeorge committed Dec 9, 2021
1 parent 67f6679 commit 92f54fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h
Expand Up @@ -51,9 +51,9 @@
#define MICROPY_HW_USRSW_PRESSED (0)

// LEDs
#define MICROPY_HW_LED1 (pin_B1) // red
#define MICROPY_HW_LED1 (pin_B5) // blue
#define MICROPY_HW_LED2 (pin_B0) // green
#define MICROPY_HW_LED3 (pin_B5) // blue
#define MICROPY_HW_LED3 (pin_B1) // red
#define MICROPY_HW_LED_ON(pin) (mp_hal_pin_high(pin))
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_low(pin))

Expand Down

0 comments on commit 92f54fe

Please sign in to comment.