summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-02 08:42:20 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-02 09:48:59 -0400
commit9892e468d5c68f0d84ada26ea9737fae9dd41496 (patch)
tree6b5491d7920e1e506d173e69a8c3398866de9767 /firmware/target/hosted
parentb5cb99a7bf3486ce7347dc06451f209b193d516c (diff)
downloadrockbox-9892e468d5c68f0d84ada26ea9737fae9dd41496.tar.gz
rockbox-9892e468d5c68f0d84ada26ea9737fae9dd41496.tar.bz2
rockbox-9892e468d5c68f0d84ada26ea9737fae9dd41496.zip
hosted: Don't use O_SYNC for the framebuffer handle.
Change-Id: Iff4b1947fe053313d677b894c78250760aaef967
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/lcd-linuxfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/lcd-linuxfb.c b/firmware/target/hosted/lcd-linuxfb.c
index 8edb82757f..e85b920fef 100644
--- a/firmware/target/hosted/lcd-linuxfb.c
+++ b/firmware/target/hosted/lcd-linuxfb.c
@@ -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);