mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-21 12:29:51 +00:00
flush on write
This commit is contained in:
parent
53a16b3a29
commit
2b31012100
@ -71,6 +71,7 @@ uint8_t flash_filer::read() {
|
||||
void flash_filer::write(uint8_t b) {
|
||||
#if defined(USE_SD) || defined(USE_SPIFFS) || defined(USE_FS)
|
||||
file.write(b);
|
||||
file.flush();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user