1
0
Fork 0

spacer: Fix computations on multiple systems

master
Pavel Machek 2025-01-10 11:17:14 +01:00
parent 9605d0d2bb
commit 302e1009d6
1 changed files with 6 additions and 1 deletions

View File

@ -211,6 +211,7 @@ let skys = {
return this.qualest(); return this.qualest();
}, },
onEnd: function () { onEnd: function () {
this.trackSatelliteVisibility();
if (this.sats_used < 5) if (this.sats_used < 5)
this.sky_start = getTime(); this.sky_start = getTime();
this.reset(); this.reset();
@ -346,9 +347,13 @@ let sky = {
this.msg.bd = {}; this.msg.bd = {};
this.msg.gl = {}; this.msg.gl = {};
this.onMessageEnd(); this.onMessageEnd();
this.all.trackSatelliteVisibility();
//print(this.sats); //print(this.sats);
this.all.onEnd(); this.all.onEnd();
if (this.split) {
this.s_gp.onEnd();
this.s_gl.onEnd();
this.s_bd.onEnd();
}
}, },
parseRaw: function(msg, lost) { parseRaw: function(msg, lost) {
//print(msg); //print(msg);