fix bug in cflash writing, thanks obcd
This commit is contained in:
parent
d8578f1f58
commit
1a4423e9c8
|
@ -870,10 +870,11 @@ static void cflash_write(unsigned int address,unsigned int data)
|
||||||
}
|
}
|
||||||
|
|
||||||
CFLASHLOG("Wrote %u bytes\n", written);
|
CFLASHLOG("Wrote %u bytes\n", written);
|
||||||
}
|
|
||||||
currLBA += 512;
|
currLBA += 512;
|
||||||
sector_write_index = 0;
|
sector_write_index = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else // TODO: write to real partition
|
else // TODO: write to real partition
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue