mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Replace all ASSERT with DEBUGASSERT to save the code space
This commit is contained in:
@@ -102,7 +102,7 @@ int nxterm_sempost(FAR struct nxterm_state_s *priv)
|
||||
|
||||
/* Make sure that I really hold the semaphore */
|
||||
|
||||
ASSERT(priv->holder == me);
|
||||
DEBUGASSERT(priv->holder == me);
|
||||
|
||||
/* Then let go of it */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user