summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-28 15:44:58 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-28 15:44:58 -0600
commita983a4ab7c80c651121cc3a3971e02cd2672b21d (patch)
tree56a29ded8a4c213e780bd210b76af8a70e773781 /nuttx/drivers
parent42f742c4beda5e838eeefad428c698b2d252abcd (diff)
downloadpx4-nuttx-a983a4ab7c80c651121cc3a3971e02cd2672b21d.tar.gz
px4-nuttx-a983a4ab7c80c651121cc3a3971e02cd2672b21d.tar.bz2
px4-nuttx-a983a4ab7c80c651121cc3a3971e02cd2672b21d.zip
Refreshed Spark Configurations
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/wireless/cc3000/cc3000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/wireless/cc3000/cc3000.c b/nuttx/drivers/wireless/cc3000/cc3000.c
index c9cea31e1..c11064e5a 100644
--- a/nuttx/drivers/wireless/cc3000/cc3000.c
+++ b/nuttx/drivers/wireless/cc3000/cc3000.c
@@ -112,7 +112,7 @@ CCASSERT(sizeof(cc3000_buffer_desc) <= CONFIG_MQ_MAXMSGSIZE);
#define FREE_SLOT -1
#define CLOSE_SLOT -2
-#if defined(CONFIG_CC3000_PROBES)
+#if defined(CONFIG_DEBUG) && defined(CONFIG_CC3000_PROBES)
# define CC3000_GUARD (0xc35aa53c)
# define INIT_GUARD(p) p->guard = CC3000_GUARD
# define CHECK_GUARD(p) DEBUGASSERT(p->guard == CC3000_GUARD)