aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-11 15:03:50 +0000
committerJohn Crispin <john@openwrt.org>2015-12-11 15:03:50 +0000
commit6cbb1be464941591c567d707a423d4aaea496f1d (patch)
treed6cedcdad008b8bb33d286711a2fea886e99f9a7 /target/linux/ramips/base-files/etc/board.d
parentabd11be13cd9bc8f3cbb5cfa6b458eb3f420d6c0 (diff)
downloadupstream-6cbb1be464941591c567d707a423d4aaea496f1d.tar.gz
upstream-6cbb1be464941591c567d707a423d4aaea496f1d.tar.bz2
upstream-6cbb1be464941591c567d707a423d4aaea496f1d.zip
ramips: Fix support for PBR-M1 board
The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it. The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds. Signed-off-by: 郭传鈜 <gch981213@gmail.com> SVN-Revision: 47844
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds6
1 files changed, 3 insertions, 3 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 8cb0e480cc..40a524405d 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -200,9 +200,9 @@ oy-0001)
set_wifi_led "$board:green:wifi"
;;
pbr-m1)
- ucidef_set_led_netdev "internet" "internet" "$board:green:internet" "eth0.2"
- ucidef_set_led_default "power" "power" "$board:green:power" "1"
- ucidef_set_led_default "sys" "sys" "$board:green:sys" "1"
+ ucidef_set_led_netdev "internet" "internet" "$board:blue:internet" "eth0.2"
+ ucidef_set_led_default "power" "power" "$board:blue:power" "1"
+ ucidef_set_led_default "sys" "sys" "$board:blue:sys" "1"
;;
px-4885)
set_wifi_led "$board:orange:wifi"