@@ -115,11 +115,6 @@ void gnssDetectReceiverType()
115
115
if (productVariant != RTK_FLEX)
116
116
return ;
117
117
118
- // settings.detectedGnssReceiver = GNSS_RECEIVER_LG290P;
119
- // gnss = (GNSS *)new GNSS_LG290P();
120
- // systemPrintln("Starting GNSS receiver: LG290P");
121
- // return;
122
-
123
118
gnssBoot (); // Tell GNSS to run
124
119
125
120
// TODO remove after testing, force retest on each boot
@@ -131,6 +126,7 @@ void gnssDetectReceiverType()
131
126
#ifdef COMPILE_LG290P
132
127
if (lg290pIsPresent () == true )
133
128
{
129
+ systemPrintln (" Auto-detected GNSS receiver: LG290P" );
134
130
settings.detectedGnssReceiver = GNSS_RECEIVER_LG290P;
135
131
recordSystemSettings (); // Record the detected GNSS receiver and avoid this test in the future
136
132
}
@@ -142,6 +138,7 @@ void gnssDetectReceiverType()
142
138
// TODO - this uses UART2, but Flex is UART1. We need to make the mosaic send routines flexible to use
143
139
// whichever UART we specify.
144
140
// if (mosaicIsPresent() == true)
141
+ // systemPrintln("Auto-detected GNSS receiver: mosaic-X5");
145
142
// settings.detectedGnssReceiver = GNSS_RECEIVER_MOSAIC_X5;
146
143
// recordSystemSettings(); // Record the detected GNSS receiver and avoid this test in the future
147
144
#else // COMPILE_MOSAICX5
@@ -155,15 +152,13 @@ void gnssDetectReceiverType()
155
152
#ifdef COMPILE_LG290P
156
153
gnss = (GNSS *)new GNSS_LG290P ();
157
154
present.gnss_lg290p = true ;
158
- systemPrintln (" Starting GNSS receiver: LG290P" );
159
155
#endif // COMPILE_LGP290P
160
156
}
161
157
else if (settings.detectedGnssReceiver == GNSS_RECEIVER_MOSAIC_X5)
162
158
{
163
159
#ifdef COMPILE_MOSAICX5
164
160
gnss = (GNSS *)new GNSS_MOSAIC ();
165
161
present.gnss_mosaicX5 = true ;
166
- systemPrintln (" Starting GNSS receiver: mosaic-X5" );
167
162
#endif // COMPILE_MOSAICX5
168
163
}
169
164
0 commit comments