mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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:
parent
8bb5e430e5
commit
82902a8ade
1 changed files with 4 additions and 3 deletions
|
|
@ -111,10 +111,11 @@ void lcd_write_data(const fb_data* p_bytes, int count)
|
|||
|
||||
p_bytes++; /* next packed pixels */
|
||||
|
||||
/* While push fifo is not empty */
|
||||
while ((DBOP_STAT & (1<<10)) == 0)
|
||||
;
|
||||
/* Wait if push fifo is full */
|
||||
while ((DBOP_STAT & (1<<6)) != 0);
|
||||
}
|
||||
/* While push fifo is not empty */
|
||||
while ((DBOP_STAT & (1<<10)) == 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue