diff options
Diffstat (limited to 'nuttx/configs/sam3u-ek/src')
-rw-r--r-- | nuttx/configs/sam3u-ek/src/sam3u-ek.h | 4 | ||||
-rw-r--r-- | nuttx/configs/sam3u-ek/src/up_boot.c | 2 | ||||
-rw-r--r-- | nuttx/configs/sam3u-ek/src/up_leds.c | 12 |
3 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/configs/sam3u-ek/src/sam3u-ek.h b/nuttx/configs/sam3u-ek/src/sam3u-ek.h index b2fe26e3d..3d81f2fd3 100644 --- a/nuttx/configs/sam3u-ek/src/sam3u-ek.h +++ b/nuttx/configs/sam3u-ek/src/sam3u-ek.h @@ -246,11 +246,11 @@ int weak_function sam_hsmciinit(void); #endif /************************************************************************************ - * Name: up_ledinit + * Name: board_led_initialize ************************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void up_ledinit(void); +void board_led_initialize(void); #endif /************************************************************************************ diff --git a/nuttx/configs/sam3u-ek/src/up_boot.c b/nuttx/configs/sam3u-ek/src/up_boot.c index 6892f3c9c..b373b5f71 100644 --- a/nuttx/configs/sam3u-ek/src/up_boot.c +++ b/nuttx/configs/sam3u-ek/src/up_boot.c @@ -96,7 +96,7 @@ void sam_boardinitialize(void) /* Configure on-board LEDs if LED support has been selected. */ #ifdef CONFIG_ARCH_LEDS - up_ledinit(); + board_led_initialize(); #endif /* Setup SD card-related PIOs if 1) HSMCI is selected and 2) the weak 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]); } |