diff options
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/up_idle.c')
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/up_idle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/up_idle.c b/nuttx/configs/stm32f4discovery/src/up_idle.c index c8563acb9..30f3a77f1 100644 --- a/nuttx/configs/stm32f4discovery/src/up_idle.c +++ b/nuttx/configs/stm32f4discovery/src/up_idle.c @@ -67,8 +67,8 @@ */ #if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE) -# define BEGIN_IDLE() up_ledon(LED_IDLE) -# define END_IDLE() up_ledoff(LED_IDLE) +# define BEGIN_IDLE() board_led_on(LED_IDLE) +# define END_IDLE() board_led_off(LED_IDLE) #else # define BEGIN_IDLE() # define END_IDLE() |