You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "cederom (via GitHub)" <gi...@apache.org> on 2024/10/10 15:46:45 UTC

Re: [PR] nxcode improvement [nuttx-apps]

cederom commented on code in PR #2675:
URL: https://github.com/apache/nuttx-apps/pull/2675#discussion_r1795707008


##########
system/nxcodec/nxcodec.c:
##########
@@ -60,20 +60,27 @@ static int nxcodec_prepare_contexts(FAR nxcodec_t *codec)
   ret = ioctl(codec->fd, VIDIOC_QUERYCAP, &cap);
   if (ret < 0)
     {
+      printf("nxcodec VIDIOC_QUERYCAP error: %d\n", errno);

Review Comment:
   why printf and not logging? printf cannot be controlled.



-- 
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-unsubscribe@nuttx.apache.org

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