flush SD log 10x faster #2558

This commit is contained in:
rusefillc 2021-04-15 09:42:22 -04:00
parent a5d6cb9337
commit 57dcc927c9
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ static bool fs_ready = false;
EXTERN_ENGINE; EXTERN_ENGINE;
// at about 20Hz we write about 2Kb per second, looks like we flush once every ~2 seconds
#define F_SYNC_FREQUENCY 10 #define F_SYNC_FREQUENCY 10
static int totalLoggedBytes = 0; static int totalLoggedBytes = 0;