aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-07-29 11:32:44 +0200
committerMathias Kresin <dev@kresin.me>2017-07-29 12:06:35 +0200
commita6f6f8df23a06739d062ff4cf3e996b2aea200ae (patch)
tree9426c8a2b8a1b8246852a2a479f197c0c7bf9b56 /target/linux/ramips/base-files/etc
parent5d7e23f5ad9d8c240e8ba1989ee68cbdf1ff578f (diff)
downloadupstream-a6f6f8df23a06739d062ff4cf3e996b2aea200ae.tar.gz
upstream-a6f6f8df23a06739d062ff4cf3e996b2aea200ae.tar.bz2
upstream-a6f6f8df23a06739d062ff4cf3e996b2aea200ae.zip
ramips: Archer C50v1: fix power led
01_leds had a workaround for the power led to compensate for the inverted GPIO state. This patch was missing from my previous commit. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org> [add the power led default-state which was omitted in the last commit by me] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rw-r--r--target/linux/ramips/base-files/etc/board.d/01_leds1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 8678a77796..f6208fb392 100644
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -92,7 +92,6 @@ c20i)
ucidef_set_led_wlan "wlan" "wlan" "$board:blue:wlan" "phy0radio"
;;
c50)
- ucidef_set_led_default "power" "power" "$board:green:power" "0"
ucidef_set_led_switch "lan" "lan" "$board:green:lan" "switch0" "0x1e"
ucidef_set_led_switch "wan" "wan" "$board:green:wan" "switch0" "0x01"
set_usb_led "$board:green:usb"