mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
sim/framebuffer: remove duplicate poll notify
The framebuffer of the emulator is a single buffer mode, and the pan_display method is not implemented, so as long as the fb device is created and poll notify once, the fb can be kept in a writable state. Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
7485816d6f
commit
6536ddcdcf
1 changed files with 1 additions and 5 deletions
|
|
@ -424,12 +424,8 @@ void sim_x11loop(void)
|
|||
|
||||
if (now - last >= MSEC2TICK(16))
|
||||
{
|
||||
if (sim_x11update() >= 0)
|
||||
{
|
||||
fb_pollnotify(&g_fbobject);
|
||||
}
|
||||
|
||||
last = now;
|
||||
sim_x11update();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue