summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3131/src/up_leds.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ea3131/src/up_leds.c')
-rw-r--r--nuttx/configs/ea3131/src/up_leds.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/nuttx/configs/ea3131/src/up_leds.c b/nuttx/configs/ea3131/src/up_leds.c
index ab22c7657..021600cb9 100644
--- a/nuttx/configs/ea3131/src/up_leds.c
+++ b/nuttx/configs/ea3131/src/up_leds.c
@@ -2,7 +2,7 @@
* configs/ea3131/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
- * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -55,13 +55,11 @@
* Definitions
****************************************************************************/
-/* Enables debug output from this file (needs CONFIG_DEBUG with
- * CONFIG_DEBUG_VERBOSE too)
+/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+ * with CONFIG_DEBUG_VERBOSE too)
*/
-#undef LED_DEBUG /* Define to enable debug */
-
-#ifdef LED_DEBUG
+#ifdef CONFIG_DEBUG_LEDS
# define leddbg lldbg
# define ledvdbg llvdbg
#else
@@ -69,8 +67,6 @@
# define ledvdbg(x...)
#endif
-/* The following definitions map the encoded LED setting to GPIO settings */
-
/****************************************************************************
* Private Data
****************************************************************************/