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>
This commit is contained in:
Muhammad Waleed Badar 2025-03-27 08:22:59 +05:00 committed by Benjamin Cabé
commit c6579041d7

View file

@ -61,7 +61,7 @@
compatible = "gpio-keys";
user_button: button {
label = "User";
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
zephyr,code = <INPUT_KEY_0>;
};
};