flush SD log 10x faster #2558
This commit is contained in:
parent
0eabb0cd07
commit
ad22a00ee8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue