ENOUGH IS ENOUGH #774

Merged
muellerr merged 2 commits from ENOUGH-IS-ENOUGH into main 2023-08-14 10:39:50 +02:00
2 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,9 @@ will consitute of a breaking change warranting a new major release:
## Fixed ## Fixed
- The handling function of the GPS data is only called once per GPS read. This should remove - The handling function of the GPS data is only called once per GPS read. This should remove
the fake fix-has-changed events. the fake fix-has-changed events.
## Changed
- GPS Fix has changed event is no longer triggered for the EM
# [v6.3.0] 2023-08-03 # [v6.3.0] 2023-08-03

View File

@ -238,7 +238,9 @@ ReturnValue_t GpsHyperionLinuxController::handleGpsReadData() {
} }
} }
if (gpsSet.fixMode.value != newFix) { if (gpsSet.fixMode.value != newFix) {
#if OBSW_Q7S_EM != 1
triggerEvent(GpsHyperion::GPS_FIX_CHANGE, gpsSet.fixMode.value, newFix); triggerEvent(GpsHyperion::GPS_FIX_CHANGE, gpsSet.fixMode.value, newFix);
#endif
} }
gpsSet.fixMode = newFix; gpsSet.fixMode = newFix;
gpsSet.fixMode.setValid(modeIsSet); gpsSet.fixMode.setValid(modeIsSet);