mirror of https://github.com/espruino/BangleApps
Update app.js
parent
fae839f86c
commit
0f8af3e8ec
|
@ -244,9 +244,7 @@ function onGPS(fix) {
|
||||||
if (isNaN(di)) di = 0;
|
if (isNaN(di)) di = 0;
|
||||||
|
|
||||||
// Age of last fix (secs)
|
// Age of last fix (secs)
|
||||||
//age = Math.max(0,Math.round(getTime())-(lf.time.getTime()/1000));
|
age = Math.max(0,Math.round(getTime())-(lf.time.getTime()/1000));
|
||||||
var time = formatTime(lf.time);
|
|
||||||
age = timeSince(time);
|
|
||||||
if ( age > 90 ) age = '>90';
|
if ( age > 90 ) age = '>90';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue