mirror of https://github.com/hak5/openwrt.git
ramips: fix inverted reset button for Ravpower WD03
The button events "pressed" and "released" were switched. Tested with v18.06.4.
Signed-off-by: Moritz Warning <moritzwarning@web.de>
(cherry picked from commit 3e1325b219
)
openwrt-18.06
parent
b72b37d6ff
commit
b1eeb5dd2a
|
@ -36,7 +36,7 @@
|
|||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue