aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-12-11 15:03:50 +0000
committerJohn Crispin <blogic@openwrt.org>2015-12-11 15:03:50 +0000
commit0065f15e56d28a20eb9d1de1ccb446fe3093b822 (patch)
tree248f77986951a13ffbdbd735d539d126880c1216 /target/linux/ramips/base-files/etc/board.d
parente34cb807742d29b34fa9ead3a1e8b1587818de99 (diff)
downloadmaster-187ad058-0065f15e56d28a20eb9d1de1ccb446fe3093b822.tar.gz
master-187ad058-0065f15e56d28a20eb9d1de1ccb446fe3093b822.tar.bz2
master-187ad058-0065f15e56d28a20eb9d1de1ccb446fe3093b822.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47844 3c298f89-4303-0410-b956-a3cf2f4a3e73
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"