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:
Lasse Fröhner 2024-07-15 09:50:29 +02:00 committed by Fabio Baltieri
commit 08ad963589

View file

@ -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>;
};
};