Browse Source

stm32/boards/NUCLEO_WB55: Fix LED ordering.

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>
pull/8074/head
Jim Mussared 3 years ago
committed by Damien George
parent
commit
92f54fe8d9
  1. 4
      ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h

4
ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h

@ -51,9 +51,9 @@
#define MICROPY_HW_USRSW_PRESSED (0) #define MICROPY_HW_USRSW_PRESSED (0)
// LEDs // 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_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_ON(pin) (mp_hal_pin_high(pin))
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_low(pin)) #define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_low(pin))

Loading…
Cancel
Save