summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f3discovery/src/up_userleds.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm32f3discovery/src/up_userleds.c')
-rw-r--r--nuttx/configs/stm32f3discovery/src/up_userleds.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/configs/stm32f3discovery/src/up_userleds.c b/nuttx/configs/stm32f3discovery/src/up_userleds.c
index 1b13de535..85b8b8346 100644
--- a/nuttx/configs/stm32f3discovery/src/up_userleds.c
+++ b/nuttx/configs/stm32f3discovery/src/up_userleds.c
@@ -56,13 +56,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