mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button type
switch buttons should be declared as switch so the failsafe shell is not triggered by accident in procd Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37131 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -140,21 +140,21 @@ static struct gpio_keys_button wzrhpag300h_gpio_keys[] __initdata = {
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.desc = "router_auto",
|
||||
.type = EV_KEY,
|
||||
.type = EV_SW,
|
||||
.code = BTN_6,
|
||||
.debounce_interval = WZRHPAG300H_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = 6,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.desc = "router_off",
|
||||
.type = EV_KEY,
|
||||
.type = EV_SW,
|
||||
.code = BTN_5,
|
||||
.debounce_interval = WZRHPAG300H_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = 7,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.desc = "movie_engine",
|
||||
.type = EV_KEY,
|
||||
.type = EV_SW,
|
||||
.code = BTN_7,
|
||||
.debounce_interval = WZRHPAG300H_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = 8,
|
||||
|
||||
Reference in New Issue
Block a user