v1.10.0 #220

Merged
meierj merged 592 commits from develop into main 2022-04-22 07:42:20 +02:00
Showing only changes of commit c83efd149e - Show all commits

View File

@ -194,9 +194,9 @@ void GPSHyperionLinuxController::readGpsDataFromGpsd() {
if (not utility::timeSanityCheck()) { if (not utility::timeSanityCheck()) {
#if OBSW_VERBOSE_LEVEL >= 1 #if OBSW_VERBOSE_LEVEL >= 1
time_t timeRaw = time.tv_sec; time_t timeRaw = time.tv_sec;
std::tm *time = std::gmtime(&timeRaw); std::tm *timeTm = std::gmtime(&timeRaw);
sif::info << "Setting invalid system time from GPS data directly: " sif::info << "Setting invalid system time from GPS data directly: "
<< std::put_time(time, "%c %Z") << std::endl; << std::put_time(timeTm, "%c %Z") << std::endl;
#endif #endif
// For some reason, the clock needs to be somewhat correct for NTP to work. Really dumb.. // For some reason, the clock needs to be somewhat correct for NTP to work. Really dumb..
Clock::setClock(&time); Clock::setClock(&time);