diff options
Diffstat (limited to 'nuttx/configs/stm32f100rc_generic/src/up_leds.c')
-rw-r--r-- | nuttx/configs/stm32f100rc_generic/src/up_leds.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/stm32f100rc_generic/src/up_leds.c b/nuttx/configs/stm32f100rc_generic/src/up_leds.c index 83e1761dc..ea453d15a 100644 --- a/nuttx/configs/stm32f100rc_generic/src/up_leds.c +++ b/nuttx/configs/stm32f100rc_generic/src/up_leds.c @@ -74,30 +74,30 @@ ****************************************************************************/ /**************************************************************************** - * Name: up_ledinit + * Name: board_led_initialize ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void up_ledinit(void) +void board_led_initialize(void) { stm32_configgpio(GPIO_LED1); /* Configure LED1 GPIO for output */ } /**************************************************************************** - * Name: up_ledon + * Name: board_led_on ****************************************************************************/ -void up_ledon(int led) +void board_led_on(int led) { if (led == 1) stm32_gpiowrite(GPIO_LED1, true); } /**************************************************************************** - * Name: up_ledoff + * Name: board_led_off ****************************************************************************/ -void up_ledoff(int led) +void board_led_off(int led) { if (led == 0) stm32_gpiowrite(GPIO_LED1, false); |