boards: arm: stm32: fix user led configuration
User LEDs are active low. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
45a693a2a9
commit
7d90035282
1 changed files with 2 additions and 2 deletions
|
@ -22,11 +22,11 @@
|
|||
leds {
|
||||
compatible = "gpio-leds";
|
||||
red_led: led_1 {
|
||||
gpios = <&gpioc 2 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpioc 2 GPIO_ACTIVE_LOW>;
|
||||
label = "User LD2";
|
||||
};
|
||||
green_led: led_2 {
|
||||
gpios = <&gpioc 3 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpioc 3 GPIO_ACTIVE_LOW>;
|
||||
label = "User LD1";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue