forked from len0rd/rockbox
Fix a bug in the Sansa flash driver. Other bugs remain, as it does not pass the stress test yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12127 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e9a2caee2b
commit
e80470e958
1 changed files with 1 additions and 1 deletions
|
|
@ -284,8 +284,8 @@ static void copy_write_sectors(const unsigned char* buf, int wordcount)
|
|||
unsigned short* wbufend = wbuf + wordcount;
|
||||
do
|
||||
{
|
||||
lcd_update();
|
||||
DATA_REG = *wbuf;
|
||||
asm volatile("nop\n\t");
|
||||
} while (++wbuf < wbufend); /* tail loop is faster */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue