mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
This commit is contained in:
+1
-1
@@ -456,7 +456,7 @@ int romdisk_register(int minor, FAR const uint8_t *buffer, uint32_t nsectors,
|
||||
|
||||
/* Sanity check */
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
if (minor < 0 || minor > 255 || !buffer || !nsectors || !sectsize)
|
||||
{
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user