diff options
Diffstat (limited to 'nuttx/configs/twr-k60n512/src/up_leds.c')
-rw-r--r-- | nuttx/configs/twr-k60n512/src/up_leds.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/twr-k60n512/src/up_leds.c b/nuttx/configs/twr-k60n512/src/up_leds.c index 4c3c35006..ba6a18302 100644 --- a/nuttx/configs/twr-k60n512/src/up_leds.c +++ b/nuttx/configs/twr-k60n512/src/up_leds.c @@ -222,7 +222,7 @@ static void led_setonoff(unsigned int bits) ****************************************************************************/ /**************************************************************************** - * Name: up_ledinit + * Name: board_led_initialize * * Description: * Initialize LED GPIOs so that LEDs can be controlled. @@ -230,7 +230,7 @@ static void led_setonoff(unsigned int bits) ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void up_ledinit(void) +void board_led_initialize(void) { /* Configure LED1-4 GPIOs for output */ @@ -241,19 +241,19 @@ void up_ledinit(void) } /**************************************************************************** - * Name: up_ledon + * Name: board_led_on ****************************************************************************/ -void up_ledon(int led) +void board_led_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } /**************************************************************************** - * Name: up_ledoff + * Name: board_led_off ****************************************************************************/ -void up_ledoff(int led) +void board_led_off(int led) { led_setonoff(OFF_BITS(g_ledbits[led])); } |