Fix reference to a pointer being written to file instead of a pointer.
This commit is contained in:
parent
c06625f422
commit
b93dd813f5
@ -136,7 +136,7 @@ int main() {
|
||||
|
||||
// Write header - TODO: Not sure why this is done at the very end..
|
||||
f_lseek(&file, 0x1000);
|
||||
f_write(&file, &header, 0x200, &written);
|
||||
f_write(&file, header, 0x200, &written);
|
||||
f_sync(&file);
|
||||
Debug("Wrote 0x%x header bytes", written);
|
||||
wait_key();
|
||||
|
Loading…
x
Reference in New Issue
Block a user