also try get 'last updated' from GPS if no Galileo for display

pull/118/head
bert hubert 2020-05-14 09:44:26 +02:00
parent 69d6d667e0
commit 50629a64e2
1 changed files with 7 additions and 1 deletions

View File

@ -452,7 +452,13 @@ try
ret["last-seen"]=utcFromGST(latestWN(2, svstats), latestTow(2, svstats));
}
catch(...)
{}
{
try {
ret["last-seen"]=utcFromGPS(latestWN(0, svstats), latestTow(0, svstats));
}
catch(...)
{}
}
ret["gst-utc-offset-ns"] = g_GSTUTCOffset;
ret["gst-gps-offset-ns"] = g_GSTGPSOffset;