summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-18 09:56:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-18 09:56:23 +0000
commit6c627a266ba6c9c608b897a90314e9aedb0539b9 (patch)
treed70fae13cc5cedd2d3663573ac1acefa8a884593 /target/linux/adm5120/base-files/etc/diag.sh
parentc4f14fab9b1009754df65e4142a09bfd54e95db1 (diff)
downloadmaster-31e0f0ae-6c627a266ba6c9c608b897a90314e9aedb0539b9.tar.gz
master-31e0f0ae-6c627a266ba6c9c608b897a90314e9aedb0539b9.tar.bz2
master-31e0f0ae-6c627a266ba6c9c608b897a90314e9aedb0539b9.zip
base-files: introduce commonly used helper functions for setting leds
Currently, most platforms define such helpers in their own diag.sh implementation with almost identical code. By factoring out the common ground it's possible to simplify maintainability and homogenize the haptics over multiple platforms (so far as is reasonably practicable, in a next step). [juhosg: - fix led_set_attr parameters in led_timer - add led_morse and status_led_set_morse helpers - add status_led_blink_{preinit,failsafe} helpers] Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35648
Diffstat (limited to 'target/linux/adm5120/base-files/etc/diag.sh')
0 files changed, 0 insertions, 0 deletions