Re-add writing to firmware because I need it for testing wifi stuff.

This commit is contained in:
luigi__ 2009-06-04 21:27:31 +00:00
parent 20c2734317
commit 7cb5d48907
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ void mc_free(memory_chip_t *mc)
void fw_reset_com(memory_chip_t *mc)
{
//not supporting writing back to the firmware right now, so nothing to be done here
mc->com = 0;
fwrite(mc->data, 0x40000, 1, mc->fp);
}
u8 fw_transfer(memory_chip_t *mc, u8 data)