1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-12 20:08:04 +00:00

flush on write

This commit is contained in:
steve 2023-09-30 15:57:25 +01:00
parent 53a16b3a29
commit 2b31012100

View File

@ -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
}