Skip to content

Commit c657904

Browse files
walidbadarkartben
authored andcommitted
dts: boards: st, stm32f3_disco: update user button logic
Updated the stm32f3_disco board user button logic from active low to active high as per datasheet. Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
1 parent 50b32ee commit c657904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/st/stm32f3_disco/stm32f3_disco.dts

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

0 commit comments

Comments
 (0)