1
0
Fork 0
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:
Daniel Ankers 2007-01-27 18:57:57 +00:00
parent e9a2caee2b
commit e80470e958

View file

@ -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 */
}
}