Skip to content

Commit 07ece0c

Browse files
nordicjmcarlescufi
authored andcommitted
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 <[email protected]>
1 parent 0a5e5b6 commit 07ece0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/arm/stm32f411e_disco/stm32f411e_disco.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
compatible = "gpio-keys";
6363
user_button: button {
6464
label = "User";
65-
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
65+
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
6666
zephyr,code = <INPUT_KEY_0>;
6767
};
6868
};

0 commit comments

Comments
 (0)