summaryrefslogtreecommitdiff
path: root/nuttx/arch/8051/src/up_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/8051/src/up_idle.c')
-rw-r--r--nuttx/arch/8051/src/up_idle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/8051/src/up_idle.c b/nuttx/arch/8051/src/up_idle.c
index e06046c0c..02125e4e2 100644
--- a/nuttx/arch/8051/src/up_idle.c
+++ b/nuttx/arch/8051/src/up_idle.c
@@ -85,11 +85,11 @@ void up_idle(void)
g_ledtoggle++;
if (g_ledtoggle == 0x80)
{
- up_ledon(LED_IDLE);
+ board_led_on(LED_IDLE);
}
else if (g_ledtoggle == 0x00)
{
- up_ledoff(LED_IDLE);
+ board_led_off(LED_IDLE);
}
#endif
}