mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Backout 3f731241cb. It is a good idea, but has some unpleasant side effect... like SYSLOG and dbg() no longer work
This commit is contained in:
@@ -445,6 +445,18 @@ static inline int vnc_wait_server(int display)
|
||||
result = g_fbstartup[display].result;
|
||||
if (result != -EBUSY)
|
||||
{
|
||||
#ifdef CONFIG_DEBUG
|
||||
if (result < 0)
|
||||
{
|
||||
DEBUGASSERT(g_vnc_sessions[display] == NULL);
|
||||
gdbg("ERROR: VNC server startup failed: %d\n", result);
|
||||
}
|
||||
else
|
||||
{
|
||||
DEBUGASSERT(g_vnc_sessions[display] != NULL &&
|
||||
g_vnc_sessions[display]->state == VNCSERVER_RUNNING);
|
||||
}
|
||||
#endif
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user