diff options
Diffstat (limited to 'nuttx/arch/pjrc-8051/src/up_idle.c')
-rw-r--r-- | nuttx/arch/pjrc-8051/src/up_idle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/pjrc-8051/src/up_idle.c b/nuttx/arch/pjrc-8051/src/up_idle.c index c413c3f41..7c9ebc040 100644 --- a/nuttx/arch/pjrc-8051/src/up_idle.c +++ b/nuttx/arch/pjrc-8051/src/up_idle.c @@ -50,7 +50,7 @@ * Private Data ************************************************************/ -#if defined(CONFIG_8051_LEDS) && defined(CONFIG_8051_BRINGUP) +#if defined(CONFIG_ARCH_LEDS) && defined(CONFIG_ARCH_BRINGUP) static ubyte g_ledtoggle = 0; #endif @@ -79,7 +79,7 @@ static ubyte g_ledtoggle = 0; void up_idle(void) { -#if defined(CONFIG_8051_LEDS) && defined(CONFIG_8051_BRINGUP) +#if defined(CONFIG_ARCH_LEDS) && defined(CONFIG_ARCH_BRINGUP) g_ledtoggle++; if (g_ledtoggle == 0x80) { |