Skip to content

Commit a16d1c9

Browse files
committed
Initialize lastFileReport to avoid possible immediate timeout
1 parent 412e6af commit a16d1c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Firmware/RTK_Everywhere/menuMessages.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,9 @@ bool beginLogging(const char *customFileName)
281281
return(false);
282282
}
283283

284-
fileSize = 0;
284+
logFileSize = 0;
285285
lastLogSize = 0; // Reset counter - used for displaying active logging icon
286+
lastFileReport = millis(); // Fake last file report to avoid an immediate timeout
286287

287288
bufferOverruns = 0; // Reset counter
288289

0 commit comments

Comments
 (0)