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:
parent
50b32eefed
commit
c6579041d7
1 changed files with 1 additions and 1 deletions
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue