cetron_3003:fix button inactive (#68)
Co-authored-by: liam <liam@cetron.cn>
This commit is contained in:
@@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user