Skip to content

Commit 08ad963

Browse files
Finwoodfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 0b453c6 commit 08ad963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/st/nucleo_g431rb/nucleo_g431rb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
compatible = "gpio-keys";
4444
user_button: button {
4545
label = "User";
46-
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
46+
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
4747
zephyr,code = <INPUT_KEY_0>;
4848
};
4949
};

0 commit comments

Comments
 (0)