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/maple | |
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/maple')
-rw-r--r-- | nuttx/configs/maple/src/up_boot.c | 2 | ||||
-rw-r--r-- | nuttx/configs/maple/src/up_leds.c | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/configs/maple/src/up_boot.c b/nuttx/configs/maple/src/up_boot.c index 868e7a6d9..795fa5e7b 100644 --- a/nuttx/configs/maple/src/up_boot.c +++ b/nuttx/configs/maple/src/up_boot.c @@ -74,7 +74,7 @@ void stm32_boardinitialize(void) /* Configure on-board LEDs if LED support has been selected. */ #ifdef CONFIG_ARCH_LEDS - up_ledinit(); + board_led_initialize(); #endif /* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function diff --git a/nuttx/configs/maple/src/up_leds.c b/nuttx/configs/maple/src/up_leds.c index 638d506e5..0ed4ffcf0 100644 --- a/nuttx/configs/maple/src/up_leds.c +++ b/nuttx/configs/maple/src/up_leds.c @@ -87,11 +87,11 @@ static inline void set_led(bool v) ****************************************************************************/ /**************************************************************************** - * Name: up_ledinit + * Name: board_led_initialize ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void up_ledinit(void) +void board_led_initialize(void) { /* Configure LED GPIO for output */ @@ -99,12 +99,12 @@ void up_ledinit(void) } /**************************************************************************** - * Name: up_ledon + * Name: board_led_on ****************************************************************************/ -void up_ledon(int led) +void board_led_on(int led) { - ledvdbg("up_ledon(%d)\n", led); + ledvdbg("board_led_on(%d)\n", led); switch (led) { case LED_STARTED: @@ -128,12 +128,12 @@ void up_ledon(int led) } /**************************************************************************** - * Name: up_ledoff + * Name: board_led_off ****************************************************************************/ -void up_ledoff(int led) +void board_led_off(int led) { - ledvdbg("up_ledoff(%d)\n", led); + ledvdbg("board_led_off(%d)\n", led); switch (led) { |