Make more effective use of the DBOP FIFO for the sansa clip.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21190 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-06-04 19:53:39 +00:00
parent 8bb5e430e5
commit 82902a8ade

View file

@ -111,10 +111,11 @@ void lcd_write_data(const fb_data* p_bytes, int count)
p_bytes++; /* next packed pixels */ p_bytes++; /* next packed pixels */
/* While push fifo is not empty */ /* Wait if push fifo is full */
while ((DBOP_STAT & (1<<10)) == 0) while ((DBOP_STAT & (1<<6)) != 0);
;
} }
/* While push fifo is not empty */
while ((DBOP_STAT & (1<<10)) == 0);
} }