video/fb: changed circbuf_write assert to warning
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
This commit is contained in:
parent
01219b415c
commit
4d42fdf195
@ -206,7 +206,10 @@ static int fb_add_paninfo(FAR struct fb_chardev_s *fb,
|
|||||||
/* Write planeinfo information to the queue. */
|
/* Write planeinfo information to the queue. */
|
||||||
|
|
||||||
ret = circbuf_write(panbuf, info, sizeof(union fb_paninfo_u));
|
ret = circbuf_write(panbuf, info, sizeof(union fb_paninfo_u));
|
||||||
DEBUGASSERT(ret == sizeof(union fb_paninfo_u));
|
if (ret != sizeof(union fb_paninfo_u))
|
||||||
|
{
|
||||||
|
gwarn("WARNING: circbuf_write(panbuf) failed\n");
|
||||||
|
}
|
||||||
|
|
||||||
/* Re-enable interrupts */
|
/* Re-enable interrupts */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user