From 07ece0cb1dfa9a1aaf7af3fe94792cc3b7572fa0 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Tue, 12 Sep 2023 12:24:15 +0100 Subject: [PATCH] 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 --- boards/arm/stm32f411e_disco/stm32f411e_disco.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/stm32f411e_disco/stm32f411e_disco.dts b/boards/arm/stm32f411e_disco/stm32f411e_disco.dts index 11a65534b4..197df98212 100644 --- a/boards/arm/stm32f411e_disco/stm32f411e_disco.dts +++ b/boards/arm/stm32f411e_disco/stm32f411e_disco.dts @@ -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 = ; }; };