[source] brcm63xx: diag.sh: use common status_led_blink_* functions

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 15 15:21:21 PDT 2017


pepe2k pushed a commit to source.git, branch master:
https://git.lede-project.org/f9a1f322d26dfb3d3db59ffeab7c3fcc3772e8cc

commit f9a1f322d26dfb3d3db59ffeab7c3fcc3772e8cc
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Thu Mar 9 15:07:52 2017 +0100

    brcm63xx: diag.sh: use common status_led_blink_* functions
    
    Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 target/linux/brcm63xx/base-files/etc/diag.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index df1d616..e8e8624 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -133,13 +133,13 @@ set_state() {
 
 	case "$1" in
 	preinit)
-		status_led_set_timer 200 200
+		status_led_blink_preinit
 		;;
 	failsafe)
-		status_led_set_timer 50 50
+		status_led_blink_failsafe
 		;;
 	preinit_regular)
-		status_led_set_timer 500 500
+		status_led_blink_preinit_regular
 		;;
 	done)
 		if [ "${status_led/power}" != "$status_led" ]; then



More information about the lede-commits mailing list