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
+1 -1
View File
@@ -316,7 +316,7 @@ config STMPE811_TEMP_DISABLE
config STMPE811_REGDEBUG
bool "Enable Register-Level STMPE811 Debug"
default n
depends on DEBUG
depends on DEBUG_FEATURES
---help---
Enable very low register-level debug output.
+1 -1
View File
@@ -794,7 +794,7 @@ static int ajoy_poll(FAR struct file *filep, FAR struct pollfd *fds,
FAR struct pollfd **slot = (FAR struct pollfd **)fds->priv;
#ifdef CONFIG_DEBUG
#ifdef CONFIG_DEBUG_FEATURES
if (!slot)
{
iinfo("ERROR: Poll slot not found\n");
+1 -1
View File
@@ -786,7 +786,7 @@ static int btn_poll(FAR struct file *filep, FAR struct pollfd *fds,
FAR struct pollfd **slot = (FAR struct pollfd **)fds->priv;
#ifdef CONFIG_DEBUG
#ifdef CONFIG_DEBUG_FEATURES
if (!slot)
{
iinfo("ERROR: Poll slot not found\n");
+1 -1
View File
@@ -790,7 +790,7 @@ static int djoy_poll(FAR struct file *filep, FAR struct pollfd *fds,
FAR struct pollfd **slot = (FAR struct pollfd **)fds->priv;
#ifdef CONFIG_DEBUG
#ifdef CONFIG_DEBUG_FEATURES
if (!slot)
{
iinfo("ERROR: Poll slot not found\n");
+1 -1
View File
@@ -49,7 +49,7 @@
/* Support T6 only if debug is enabled */
#undef MXT_SUPPORT_T6
#if !defined(CONFIG_DEBUG)
#if !defined(CONFIG_DEBUG_FEATURES)
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_INPUT
#endif
+1 -1
View File
@@ -306,7 +306,7 @@ static inline int stmpe811_waitsample(FAR struct stmpe811_dev_s *priv,
if (ret < 0)
{
#ifdef CONFIG_DEBUG
#ifdef CONFIG_DEBUG_FEATURES
/* Sample the errno (debug output could change it) */
int errval = errno;