hosted: Don't use O_SYNC for the framebuffer handle.

Change-Id: Iff4b1947fe053313d677b894c78250760aaef967
This commit is contained in:
Solomon Peachy 2020-10-02 08:42:20 -04:00
parent b5cb99a7bf
commit 9892e468d5
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ static void redraw(void)
void lcd_init_device(void)
{
const char * const fb_dev = "/dev/fb0";
fd = open(fb_dev, O_RDWR | O_SYNC);
fd = open(fb_dev, O_RDWR /* | O_SYNC */);
if(fd < 0)
{
panicf("Cannot open framebuffer: %s\n", fb_dev);