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:
Jamie McCrae 2023-09-12 12:24:15 +01:00 committed by Carles Cufí
parent 0a5e5b68ff
commit 07ece0cb1d

View file

@ -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>;
};
};