lantiq: BTHOMEHUBV5A - use the power event code for the restart button
The restart event code is used in LEDE to trigger a factory reset on long press as well. By using the power event code, the restart functionality can be used without being prone to trigger a factory reset. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
551c9c8300
commit
153b3f05d4
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@
|
||||||
restart {
|
restart {
|
||||||
label = "restart";
|
label = "restart";
|
||||||
gpios = <&gpio 39 1>;
|
gpios = <&gpio 39 1>;
|
||||||
linux,code = <0x198>;
|
linux,code = <0x74>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue