some tweaks
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2022-04-08 11:31:29 +02:00
parent 4a6840f098
commit 351920aa7b
2 changed files with 2 additions and 4 deletions

View File

@ -190,7 +190,7 @@ void GPSHyperionLinuxController::readGpsDataFromGpsd() {
} else {
timeIsConstantCounter = 0;
}
if (timeInit) {
if (timeInit and validFix) {
if (not utility::timeSanityCheck()) {
sif::info << "Setting init clock in gps ctrl" << std::endl;
// For some reason, the clock needs to be somewhat correct for NTP to work. Really dumb..