boards: st: nucleo_g431rb: fix user button polarity
The B1 user button has an active-high polarity, but was configured active-low in the DTS file. This commit fixes that. Fixes #75867 Signed-off-by: Lasse Fröhner <lasse@starcopter.com>
This commit is contained in:
parent
0b453c6cdc
commit
08ad963589
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
||||
zephyr,code = <INPUT_KEY_0>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue