summaryrefslogtreecommitdiff
path: root/nuttx/configs/pjrc-8051
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-27 15:16:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-27 15:16:46 +0000
commitb5a5ba0335a35555f062f7604377339552454886 (patch)
tree97daaa72bad5356f8e5662eab0b3531459d41045 /nuttx/configs/pjrc-8051
parent3ac081bae886b327cb7b818975edb3d66bd6b945 (diff)
downloadpx4-nuttx-b5a5ba0335a35555f062f7604377339552454886.tar.gz
px4-nuttx-b5a5ba0335a35555f062f7604377339552454886.tar.bz2
px4-nuttx-b5a5ba0335a35555f062f7604377339552454886.zip
Fix NuTiny-SDK-NUC120 LEDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5679 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pjrc-8051')
-rw-r--r--nuttx/configs/pjrc-8051/src/up_leds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/pjrc-8051/src/up_leds.c b/nuttx/configs/pjrc-8051/src/up_leds.c
index 64446b5e3..18e7b461d 100644
--- a/nuttx/configs/pjrc-8051/src/up_leds.c
+++ b/nuttx/configs/pjrc-8051/src/up_leds.c
@@ -1,7 +1,7 @@
/************************************************************************
* up_leds.c
*
- * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -57,7 +57,7 @@ static uint8_t g_ledstate;
* Private Functions
************************************************************************/
-#if defined(CONFIG_LED_DEBUG) && defined(CONFIG_ARCH_LEDS)
+#if defined(CONFIG_DEBUG_LEDS) && defined(CONFIG_ARCH_LEDS)
static void _up_puthex(uint8_t hex) __naked
{
hex; /* To avoid unreferenced argument warning */