Merge pull request #283 from kbeckmann/kbeckmann/bios_increment_address
bios: Increment address when writing to flash
This commit is contained in:
commit
b6d35c92ae
|
@ -210,7 +210,7 @@ static void fw(char *addr, char *value, char *count)
|
|||
return;
|
||||
}
|
||||
}
|
||||
for (i=0;i<count2;i++) write_to_flash(addr2, (unsigned char *)&value2, 4);
|
||||
for (i=0;i<count2;i++) write_to_flash(addr2 + i * 4, (unsigned char *)&value2, 4);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue