GPS Time Handling #203
@ -3,8 +3,6 @@
|
||||
#include <fsfw/events/EventManager.h>
|
||||
#include <fsfw/ipc/QueueFactory.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "OBSWConfig.h"
|
||||
#include "OBSWVersion.h"
|
||||
#include "fsfw/serviceinterface/ServiceInterface.h"
|
||||
@ -18,7 +16,7 @@
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <filesystem>
|
||||
|
||||
#include "bsp_q7s/memory/SdCardManager.h"
|
||||
|
@ -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..
|
||||
|
Loading…
Reference in New Issue
Block a user