mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
This commit is contained in:
@@ -45,10 +45,14 @@
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(CONFIG_VNCSERVER_DEBUG) && !defined(CONFIG_DEBUG_GRAPHICS)
|
||||
# undef CONFIG_DEBUG
|
||||
# undef CONFIG_DEBUG_FEATURES
|
||||
# undef CONFIG_DEBUG_ERROR
|
||||
# undef CONFIG_DEBUG_WARN
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# define CONFIG_DEBUG 1
|
||||
# define CONFIG_DEBUG_INFO 1
|
||||
# define CONFIG_DEBUG_FEATURES 1
|
||||
# define CONFIG_DEBUG_ERROR 1
|
||||
# define CONFIG_DEBUG_WARN 1
|
||||
# define CONFIG_DEBUG_INFO 1
|
||||
# define CONFIG_DEBUG_GRAPHICS 1
|
||||
#endif
|
||||
#include <debug.h>
|
||||
@@ -580,7 +584,7 @@ static inline int vnc_wait_connect(int display)
|
||||
result = g_fbstartup[display].result;
|
||||
if (result != -EBUSY)
|
||||
{
|
||||
#ifdef CONFIG_DEBUG
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
if (result < 0)
|
||||
{
|
||||
DEBUGASSERT(g_vnc_sessions[display] == NULL);
|
||||
|
||||
Reference in New Issue
Block a user