diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 14:28:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 14:28:49 -0600 |
commit | ce7d02b55783779750eb4da036ad2185e7f7cf44 (patch) | |
tree | 8d1eebba9a1bb5c7942bcf89c617fff85df96045 /nuttx/configs/z16f2800100zcog | |
parent | cafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff) |
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-rw-r--r-- | nuttx/configs/z16f2800100zcog/src/z16f_leds.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/configs/z16f2800100zcog/src/z16f_leds.c b/nuttx/configs/z16f2800100zcog/src/z16f_leds.c index dfcf96fec0..e08d33ad7e 100644 --- a/nuttx/configs/z16f2800100zcog/src/z16f_leds.c +++ b/nuttx/configs/z16f2800100zcog/src/z16f_leds.c @@ -67,11 +67,11 @@ ****************************************************************************/ /**************************************************************************** - * Name: up_ledinit + * Name: board_led_initialize ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void up_ledinit(void) +void board_led_initialize(void) { /* The following is performed up_lowinit() as well */ @@ -80,10 +80,10 @@ void up_ledinit(void) } /**************************************************************************** - * Name: up_ledon + * Name: board_led_on ****************************************************************************/ -void up_ledon(int led) +void board_led_on(int led) { if ((unsigned)led <= 7) { @@ -92,14 +92,14 @@ void up_ledon(int led) } /**************************************************************************** - * Name: up_ledoff + * Name: board_led_off ****************************************************************************/ -void up_ledoff(int led) +void board_led_off(int led) { if (led >= 1) { - up_ledon(led-1); + board_led_on(led-1); } } #endif /* CONFIG_ARCH_LEDS */ |