Replace all ASSERT with DEBUGASSERT to save the code space

This commit is contained in:
Xiang Xiao
2018-08-24 06:58:30 -06:00
committed by Gregory Nutt
parent 467d2a58ea
commit e1202d2ed3
129 changed files with 219 additions and 219 deletions
+2 -2
View File
@@ -571,7 +571,7 @@ static void tsc2007_worker(FAR void *arg)
uint16_t z2; /* Z2 position */
uint32_t pressure; /* Measured pressure */
ASSERT(priv != NULL);
DEBUGASSERT(priv != NULL);
/* Get a pointer the callbacks for convenience (and so the code is not so
* ugly).
@@ -764,7 +764,7 @@ static int tsc2007_interrupt(int irq, FAR void *context)
priv && priv->configs->irq != irq;
priv = priv->flink);
ASSERT(priv != NULL);
DEBUGASSERT(priv != NULL);
#endif
/* Get a pointer the callbacks for convenience (and so the code is not so