1
0
Fork 0

quick fix for last update - recorder now plots tracks ok

master
Gordon Williams 2022-11-27 09:34:27 +00:00 committed by GitHub
parent a9b12f0dba
commit 8da09e3ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@
if (l===undefined) return; // empty file?
var mp, c = l.split(",");
var la=c.indexOf("Latitude"),lo=c.indexOf("Longitude");
if (la<0 || lb<0) return; // no GPS!
l = f.readLine();
if (la<0 || lo<0) return; // no GPS!
l = f.readLine();c=[];
while (l && !c[la]) {
c = l.split(",");
l = f.readLine(f);