mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -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 */
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue