You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/09/07 18:10:02 UTC
[GitHub] [nuttx] xiaoxiang781216 commented on pull request #10526: fb: add vsync queue mechanism
xiaoxiang781216 commented on PR #10526:
URL: https://github.com/apache/nuttx/pull/10526#issuecomment-1710579476
@terry0012 please fix the following error:
```
/github/workspace/sources/nuttx/drivers/video/fb.c: In function 'fb_write':
Error: /github/workspace/sources/nuttx/drivers/video/fb.c:420:5: error: 'struct fb_chardev_s' has no member named 'pollready'
420 | fb->pollready = false;
| ^~
/github/workspace/sources/nuttx/drivers/video/fb.c: In function 'fb_get_planeinfo':
Warning: /github/workspace/sources/nuttx/drivers/video/fb.c:1166:57: warning: passing argument 3 of 'fb->vtable->getplaneinfo' from incompatible pointer type [-Wincompatible-pointer-types]
1166 | ret = fb->vtable->getplaneinfo(fb->vtable, fb->plane, &pinfo);
| ^~~~~~
| |
| struct fb_planeinfo_s **
/github/workspace/sources/nuttx/drivers/video/fb.c:1166:57: note: expected 'struct fb_planeinfo_s *' but argument is of type 'struct fb_planeinfo_s **'
Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1174:3: error: 'panelinfo' undeclared (first use in this function); did you mean 'mallinfo'?
1174 | panelinfo->fbmem = pinfo.fbmem;
| ^~~~~~~~~
| mallinfo
/github/workspace/sources/nuttx/drivers/video/fb.c:1174:3: note: each undeclared identifier is reported only once for each function it appears in
Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1174:28: error: 'pinfo' is a pointer; did you mean to use '->'?
1174 | panelinfo->fbmem = pinfo.fbmem;
| ^
| ->
Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1175:28: error: 'pinfo' is a pointer; did you mean to use '->'?
1175 | panelinfo->fblen = pinfo.fblen;
| ^
| ->
Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1176:28: error: 'pinfo' is a pointer; did you mean to use '->'?
1176 | panelinfo->bpp = pinfo.bpp;
| ^
|
```
--
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