From b5a5ba0335a35555f062f7604377339552454886 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 27 Feb 2013 15:16:46 +0000 Subject: Fix NuTiny-SDK-NUC120 LEDs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5679 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/fire-stm32v2/src/up_autoleds.c | 10 ++++------ nuttx/configs/fire-stm32v2/src/up_userleds.c | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'nuttx/configs/fire-stm32v2') diff --git a/nuttx/configs/fire-stm32v2/src/up_autoleds.c b/nuttx/configs/fire-stm32v2/src/up_autoleds.c index dcc3d8708..7127b8608 100644 --- a/nuttx/configs/fire-stm32v2/src/up_autoleds.c +++ b/nuttx/configs/fire-stm32v2/src/up_autoleds.c @@ -2,7 +2,7 @@ * configs/fire-stm32v2/src/up_autoleds.c * arch/arm/src/board/up_autoleds.c * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -57,13 +57,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/fire-stm32v2/src/up_userleds.c b/nuttx/configs/fire-stm32v2/src/up_userleds.c index 574c2c5b3..4a996af9c 100644 --- a/nuttx/configs/fire-stm32v2/src/up_userleds.c +++ b/nuttx/configs/fire-stm32v2/src/up_userleds.c @@ -2,7 +2,7 @@ * configs/fire-stm32v2/src/up_userleds.c * arch/arm/src/board/up_userleds.c * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * 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 -- cgit v1.2.3