mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
sim_framebuffer: fix fb_pollnotify not called
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
9e39600c83
commit
0443889124
@@ -348,7 +348,7 @@ void sim_x11loop(void)
|
|||||||
|
|
||||||
if (now - last >= MSEC2TICK(16))
|
if (now - last >= MSEC2TICK(16))
|
||||||
{
|
{
|
||||||
if (sim_x11update() > 0)
|
if (sim_x11update() >= 0)
|
||||||
{
|
{
|
||||||
fb_pollnotify(&g_fbobject);
|
fb_pollnotify(&g_fbobject);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user