summaryrefslogtreecommitdiff
path: root/nuttx/arch/pjrc-8051/src/up_assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/pjrc-8051/src/up_assert.c')
-rw-r--r--nuttx/arch/pjrc-8051/src/up_assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/pjrc-8051/src/up_assert.c b/nuttx/arch/pjrc-8051/src/up_assert.c
index 6fc77bec9..01bec26ca 100644
--- a/nuttx/arch/pjrc-8051/src/up_assert.c
+++ b/nuttx/arch/pjrc-8051/src/up_assert.c
@@ -73,7 +73,7 @@ static void _up_assert(int errorcode) /* __attribute__ ((noreturn)) */
(void)irqsave();
for(;;)
{
-#ifdef CONFIG_8051_LEDS
+#ifdef CONFIG_ARCH_LEDS
up_ledon(LED_PANIC);
up_delay(250);
up_ledoff(LED_PANIC);