boards: st: nucleo_l152re: fix LED polarity in device tree
Fix incorrectly defined LED polarity (GPIO_ACTIVE_LOW → GPIO_ACTIVE_HIGH) to match hardware schematic and ensure consistent GPIO API behavior. Fixes: #87424 Link: https://www.st.com/en/evaluation-tools/nucleo-l152re.html#cad-resources Signed-off-by: Roudy Dagher <roudy.dagher@gmail.com>
This commit is contained in:
parent
a4e139b9f8
commit
c67f17de0e
@ -25,7 +25,7 @@
|
||||
leds: leds {
|
||||
compatible = "gpio-leds";
|
||||
green_led_0: led_0 {
|
||||
gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD2";
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user