xiaoxiang781216 commented on code in PR #6576:
URL: https://github.com/apache/incubator-nuttx/pull/6576#discussion_r915436927


##########
drivers/video/vnc/vnc_fbdev.c:
##########
@@ -610,6 +612,22 @@ int up_fbinitialize(int display)
       return ret;
     }
 
+  /* Save the input callout function information in the session structure. */
+
+  session           = g_vnc_sessions[display];
+#ifdef CONFIG_VNCSERVER_TOUCH
+  ret = vnc_touch_register(CONFIG_VNCSERVER_TOUCH_DEVNAME, &session->touch);
+
+  if (ret < 0)
+    {
+      gerr("Initial vnc touch driver failed.\n");
+      return ERROR;

Review Comment:
   return ret



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to