fix bug in cflash writing, thanks obcd

This commit is contained in:
zeromus 2009-10-08 20:13:34 +00:00
parent d8578f1f58
commit 1a4423e9c8
1 changed files with 3 additions and 2 deletions

View File

@ -870,9 +870,10 @@ static void cflash_write(unsigned int address,unsigned int data)
}
CFLASHLOG("Wrote %u bytes\n", written);
currLBA += 512;
sector_write_index = 0;
}
currLBA += 512;
sector_write_index = 0;
}
else // TODO: write to real partition
{