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/sam3u-ek/src/up_leds.c | |
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/sam3u-ek/src/up_leds.c')
-rw-r--r-- | nuttx/configs/sam3u-ek/src/up_leds.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_leds.c b/nuttx/configs/sam3u-ek/src/up_leds.c index 3a6d09a48..6418ac4ed 100644 --- a/nuttx/configs/sam3u-ek/src/up_leds.c +++ b/nuttx/configs/sam3u-ek/src/up_leds.c @@ -162,10 +162,10 @@ static void up_setleds(uint8_t state) ****************************************************************************/ /**************************************************************************** - * Name: up_ledinit + * Name: board_led_initialize ****************************************************************************/ -void up_ledinit(void) +void board_led_initialize(void) { (void)sam_configgpio(GPIO_LED0); (void)sam_configgpio(GPIO_LED1); @@ -173,19 +173,19 @@ void up_ledinit(void) } /**************************************************************************** - * Name: up_ledon + * Name: board_led_on ****************************************************************************/ -void up_ledon(int led) +void board_led_on(int led) { up_setleds(g_ledon[led & 7]); } /**************************************************************************** - * Name: up_ledoff + * Name: board_led_off ****************************************************************************/ -void up_ledoff(int led) +void board_led_off(int led) { up_setleds(g_ledoff[led & 7]); } |