Skip to content

Commit 548394b

Browse files
siara-ccsiara-in
authored andcommitted
Fix issue with esp32_Sync
1 parent a3e6df9 commit 548394b

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed

lib_mgr_ss.png

97 KB
Loading

lib_mgr_ss1.png

30 KB
Loading

src/esp32.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ int esp32_Sync(sqlite3_file *id, int flags)
508508
esp32_file *file = (esp32_file*) id;
509509

510510
int rc = fflush( file->fd );
511+
fsync(fileno(file->fd));
511512
dbg_printf("esp32_Sync: %d\n", rc);
512513

513514
return rc ? SQLITE_IOERR_FSYNC : SQLITE_OK;

0 commit comments

Comments
 (0)