cetron_3003:fix button inactive (#68)

Co-authored-by: liam <liam@cetron.cn>
This commit is contained in:
lam-hub
2024-06-17 19:10:26 +08:00
committed by GitHub
parent cc14c072c6
commit 81cf7a8928

View File

@@ -16,7 +16,6 @@
};
config {
bootcmd = "mtkboardboot";
blink_led = "red:status";
system_led = "green:status";
};
@@ -26,11 +25,13 @@
button-reset {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
button-mesh {
label = "mesh";
linux,code = <BTN_9>;
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
};