Skip to content

Commit 80b10a0

Browse files
Merge pull request #37 from stronnag/jh_fix_stream_read_size
increase stream reader size to 2048 (inav 2.2+ debug logs)
2 parents e5cbc5f + a9bda2b commit 80b10a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/flightlog_parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ var FlightLogParser = function(logData) {
356356

357357
lineStart = stream.pos;
358358

359-
for (; stream.pos < lineStart + 1024 && stream.pos < stream.end; stream.pos++) {
359+
for (; stream.pos < lineStart + 2048 && stream.pos < stream.end; stream.pos++) {
360360
if (separatorPos === false && stream.data[stream.pos] == COLON)
361361
separatorPos = stream.pos;
362362

0 commit comments

Comments
 (0)