mirror of
https://github.com/jscrane/r65emu.git
synced 2025-01-17 18:29:55 +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) {
|
void flash_filer::write(uint8_t b) {
|
||||||
#if defined(USE_SD) || defined(USE_SPIFFS) || defined(USE_FS)
|
#if defined(USE_SD) || defined(USE_SPIFFS) || defined(USE_FS)
|
||||||
file.write(b);
|
file.write(b);
|
||||||
|
file.flush();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user