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/nucleus2g | |
parent | cafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff) | |
download | nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.gz nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.bz2 nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.zip |
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/configs/nucleus2g')
-rw-r--r-- | nuttx/configs/nucleus2g/src/up_boot.c | 2 | ||||
-rw-r--r-- | nuttx/configs/nucleus2g/src/up_leds.c | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/configs/nucleus2g/src/up_boot.c b/nuttx/configs/nucleus2g/src/up_boot.c index ee2855c2f..ce50c8827 100644 --- a/nuttx/configs/nucleus2g/src/up_boot.c +++ b/nuttx/configs/nucleus2g/src/up_boot.c @@ -106,7 +106,7 @@ void lpc17_boardinitialize(void) /* Configure on-board LEDs if LED support has been selected. */ #ifdef CONFIG_ARCH_LEDS - up_ledinit(); + board_led_initialize(); #endif /* Configure the relay outptus for use on the BMS master board */ diff --git a/nuttx/configs/nucleus2g/src/up_leds.c b/nuttx/configs/nucleus2g/src/up_leds.c index a3d4569cc..1f5ac96a8 100644 --- a/nuttx/configs/nucleus2g/src/up_leds.c +++ b/nuttx/configs/nucleus2g/src/up_leds.c @@ -118,14 +118,14 @@ static int g_nestcount; ****************************************************************************/ /**************************************************************************** - * Name: up_ledinit + * Name: board_led_initialize ****************************************************************************/ -void up_ledinit(void) +void board_led_initialize(void) { /* Configure all LED GPIO lines */ - led_dumpgpio("up_ledinit() Entry)"); + led_dumpgpio("board_led_initialize() Entry)"); lpc17_configgpio(NUCLEUS2G_LED1_A); lpc17_configgpio(NUCLEUS2G_LED1_B); @@ -134,14 +134,14 @@ void up_ledinit(void) lpc17_configgpio(NUCLEUS2G_HEARTBEAT); lpc17_configgpio(NUCLEUS2G_EXTRA_LED); - led_dumpgpio("up_ledinit() Exit"); + led_dumpgpio("board_led_initialize() Exit"); } /**************************************************************************** - * Name: up_ledon + * Name: board_led_on ****************************************************************************/ -void up_ledon(int led) +void board_led_on(int led) { /* We will control LED1 and LED2 not yet completed the boot sequence. */ @@ -185,10 +185,10 @@ void up_ledon(int led) } /**************************************************************************** - * Name: up_ledoff + * Name: board_led_off ****************************************************************************/ -void up_ledoff(int led) +void board_led_off(int led) { /* In all states, OFF can only mean turning off the HB LED */ |