mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
add flush to filesystem before closing write file.
This commit is contained in:
@@ -34,6 +34,7 @@ bool copyFile(const char *from, const char *to)
|
||||
f2.write(cbuffer, i);
|
||||
}
|
||||
|
||||
f2.flush();
|
||||
f2.close();
|
||||
f1.close();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user