File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1529,10 +1529,6 @@ void beginSystemState()
1529
1529
1530
1530
// Return to either Base or Rover Not Started. The last state previous to power down.
1531
1531
systemState = settings.lastState ;
1532
-
1533
- // If the setting is not set, override with default
1534
- if (settings.antennaPhaseCenter_mm == 0.0 )
1535
- settings.antennaPhaseCenter_mm = present.antennaPhaseCenter_mm ;
1536
1532
}
1537
1533
else if (productVariant == RTK_POSTCARD)
1538
1534
{
Original file line number Diff line number Diff line change @@ -836,6 +836,13 @@ void checkGNSSArrayDefaults()
836
836
}
837
837
#endif // COMPILE_LG290P
838
838
839
+ // If the antennaPhaseCenter_mm is not set, override with default
840
+ // (This was in beginSystemState - for the Torch / UM980 only. Weird...)
841
+ if (settings.antennaPhaseCenter_mm == 0.0 )
842
+ {
843
+ defaultsApplied = true ;
844
+ settings.antennaPhaseCenter_mm = present.antennaPhaseCenter_mm ;
845
+ }
839
846
840
847
// If defaults were applied, also default the non-array settings for this particular GNSS receiver
841
848
if (defaultsApplied == true )
You can’t perform that action at this time.
0 commit comments