Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES

This commit is contained in:
Gregory Nutt
2016-06-11 14:14:08 -06:00
parent c211ce8be1
commit 1cdc746726
1185 changed files with 2056 additions and 2019 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ static void devif_callback_free(FAR struct net_driver_s *dev,
{
save = net_lock();
#ifdef CONFIG_DEBUG
#ifdef CONFIG_DEBUG_FEATURES
/* Check for double freed callbacks */
curr = g_cbfreelist;
@@ -257,7 +257,7 @@ FAR struct devif_callback_s *
*list = ret;
}
}
#ifdef CONFIG_DEBUG
#ifdef CONFIG_DEBUG_FEATURES
else
{
nlldbg("Failed to allocate callback\n");