summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-23 18:40:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-23 18:40:35 -0600
commit59a132f2a5e7e41d1bb68c7429ca810706702190 (patch)
tree351620b55283936445e79ce443d90af054c2f71b /nuttx/arch
parent3a30b63b1a75b8910feed709724a9f5082fa6e36 (diff)
downloadpx4-nuttx-59a132f2a5e7e41d1bb68c7429ca810706702190.tar.gz
px4-nuttx-59a132f2a5e7e41d1bb68c7429ca810706702190.tar.bz2
px4-nuttx-59a132f2a5e7e41d1bb68c7429ca810706702190.zip
Fix typo from last commit
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/src/tiva/tiva_gpio.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/arm/src/tiva/tiva_gpio.h b/nuttx/arch/arm/src/tiva/tiva_gpio.h
index 8ca73dbf0..12b466042 100644
--- a/nuttx/arch/arm/src/tiva/tiva_gpio.h
+++ b/nuttx/arch/arm/src/tiva/tiva_gpio.h
@@ -58,11 +58,7 @@
* Pre-processor Definitions
****************************************************************************/
-/* Debug ********************************************************************/
-
-#ifndef CONFIG_DEBUG
-# undef CONFIG_DEBUG_GPIO
-#endif
+/* Configuration ************************************************************/
#if defined(CONFIG_ARCH_CHIP_LM3S) || defined(CONFIG_ARCH_CHIP_LM4F) || \
defined(CONFIG_ARCH_CHIP_CC3200)
@@ -325,7 +321,11 @@
/* Debug ********************************************************************/
-#ifdef CONFIG_DEBUG_SCHED
+#ifndef CONFIG_DEBUG
+# undef CONFIG_DEBUG_GPIO
+#endif
+
+#ifdef CONFIG_DEBUG_GPIO
# define gpiodbg(format, ...) dbg(format, ##__VA_ARGS__)
# define gpiolldbg(format, ...) lldbg(format, ##__VA_ARGS__)
# define gpiovdbg(format, ...) vdbg(format, ##__VA_ARGS__)