From 9f5a198c5d99904743c9a25efb7cf8e9d0d33b17 Mon Sep 17 00:00:00 2001 From: meggert Date: Mon, 4 Dec 2023 17:13:41 +0100 Subject: [PATCH] small fix --- mission/controller/acs/SensorProcessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/controller/acs/SensorProcessing.cpp b/mission/controller/acs/SensorProcessing.cpp index c454440a..43582f18 100644 --- a/mission/controller/acs/SensorProcessing.cpp +++ b/mission/controller/acs/SensorProcessing.cpp @@ -15,7 +15,7 @@ void SensorProcessing::processMgm(const float *mgm0Value, bool mgm0valid, const // ------------------------------------------------ double magIgrfModel[3] = {0.0, 0.0, 0.0}; bool gpsValid = false; - if (gpsDataProcessed->source.value != acs::GpsSource::NONE) { + if (gpsDataProcessed->source.value != acs::gps::Source::NONE) { // There seems to be a bug here, which causes the model vector to drift until infinity, if the // model class is not initialized new every time. Works for now, but should be investigated. Igrf13Model igrf13;