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
Moritz Warning 2019-12-03 23:36:13 +01:00 committed by Adrian Schmutzler
parent b72b37d6ff
commit b1eeb5dd2a
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
reset {
label = "reset";
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};