summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/src/up_autoleds.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3220g-eval/src/up_autoleds.c')
-rw-r--r--nuttx/configs/stm3220g-eval/src/up_autoleds.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/up_autoleds.c b/nuttx/configs/stm3220g-eval/src/up_autoleds.c
index 068c07ab4..85010c504 100644
--- a/nuttx/configs/stm3220g-eval/src/up_autoleds.c
+++ b/nuttx/configs/stm3220g-eval/src/up_autoleds.c
@@ -58,13 +58,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