diff options
Diffstat (limited to 'nuttx/configs/stm3240g-eval')
-rw-r--r-- | nuttx/configs/stm3240g-eval/src/up_autoleds.c | 10 | ||||
-rw-r--r-- | nuttx/configs/stm3240g-eval/src/up_userleds.c | 10 |
2 files changed, 8 insertions, 12 deletions
diff --git a/nuttx/configs/stm3240g-eval/src/up_autoleds.c b/nuttx/configs/stm3240g-eval/src/up_autoleds.c index 8e7f40da3..8474a0476 100644 --- a/nuttx/configs/stm3240g-eval/src/up_autoleds.c +++ b/nuttx/configs/stm3240g-eval/src/up_autoleds.c @@ -2,7 +2,7 @@ * configs/stm3240g_eval/src/up_autoleds.c * arch/arm/src/board/up_autoleds.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -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 diff --git a/nuttx/configs/stm3240g-eval/src/up_userleds.c b/nuttx/configs/stm3240g-eval/src/up_userleds.c index 4faf0dfd2..6607bb616 100644 --- a/nuttx/configs/stm3240g-eval/src/up_userleds.c +++ b/nuttx/configs/stm3240g-eval/src/up_userleds.c @@ -2,7 +2,7 @@ * configs/stm3240g_eval/src/up_userleds.c * arch/arm/src/board/up_userleds.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -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 |