boards: arm: stm32f411e_disco: Fix button level
Fixes the button to have the correct polarity for when it is pressed. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
0a5e5b68ff
commit
07ece0cb1d
|
@ -62,7 +62,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
|
||||
zephyr,code = <INPUT_KEY_0>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue