mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 08:52:01 +08:00
Replace all ASSERT calls to DEBUGASSERT
This commit is contained in:
@@ -108,7 +108,7 @@ int i2sloop_main(int argc, char *argv[])
|
||||
/* Open the I2S character device */
|
||||
|
||||
fd = open("/dev/i2schar0", O_RDWR);
|
||||
ASSERT(0 < fd);
|
||||
DEBUGASSERT(0 < fd);
|
||||
|
||||
/* Setup sample freq for i2s */
|
||||
|
||||
@@ -127,7 +127,7 @@ int i2sloop_main(int argc, char *argv[])
|
||||
desc.u.ppBuffer = &apb;
|
||||
|
||||
ret = apb_alloc(&desc);
|
||||
ASSERT(ret == sizeof(desc));
|
||||
DEBUGASSERT(ret == sizeof(desc));
|
||||
|
||||
signal(1, _signal_handler);
|
||||
g_i2sloop_running = true;
|
||||
|
Reference in New Issue
Block a user