@@ -203,9 +203,6 @@ void beginBoard()
203203 // Bug in ZED-F9P v1.13 firmware causes RTK LED to not light when RTK Floating with SBAS on.
204204 // The following changes the POR default but will be overwritten by settings in NVM or settings file
205205 settings.ubxConstellations [1 ].enabled = false ;
206-
207- strncpy (platformFilePrefix, " SFE_Surveyor" , sizeof (platformFilePrefix) - 1 );
208- strncpy (platformPrefix, " Surveyor" , sizeof (platformPrefix) - 1 );
209206 }
210207 else if (productVariant == RTK_EXPRESS || productVariant == RTK_EXPRESS_PLUS)
211208 {
@@ -229,17 +226,6 @@ void beginBoard()
229226 pinMode (pin_setupButton, INPUT_PULLUP);
230227
231228 setMuxport (settings.dataPortChannel ); // Set mux to user's choice: NMEA, I2C, PPS, or DAC
232-
233- if (productVariant == RTK_EXPRESS)
234- {
235- strncpy (platformFilePrefix, " SFE_Express" , sizeof (platformFilePrefix) - 1 );
236- strncpy (platformPrefix, " Express" , sizeof (platformPrefix) - 1 );
237- }
238- else if (productVariant == RTK_EXPRESS_PLUS)
239- {
240- strncpy (platformFilePrefix, " SFE_Express_Plus" , sizeof (platformFilePrefix) - 1 );
241- strncpy (platformPrefix, " Express Plus" , sizeof (platformPrefix) - 1 );
242- }
243229 }
244230 else if (productVariant == RTK_FACET || productVariant == RTK_FACET_LBAND ||
245231 productVariant == RTK_FACET_LBAND_DIRECT)
@@ -278,21 +264,8 @@ void beginBoard()
278264 pinMode (pin_radio_cts, OUTPUT);
279265 digitalWrite (pin_radio_cts, LOW);
280266
281- if (productVariant == RTK_FACET )
267+ if (productVariant == RTK_FACET_LBAND_DIRECT )
282268 {
283- strncpy (platformFilePrefix, " SFE_Facet" , sizeof (platformFilePrefix) - 1 );
284- strncpy (platformPrefix, " Facet" , sizeof (platformPrefix) - 1 );
285- }
286- else if (productVariant == RTK_FACET_LBAND)
287- {
288- strncpy (platformFilePrefix, " SFE_Facet_LBand" , sizeof (platformFilePrefix) - 1 );
289- strncpy (platformPrefix, " Facet L-Band" , sizeof (platformPrefix) - 1 );
290- }
291- else if (productVariant == RTK_FACET_LBAND_DIRECT)
292- {
293- strncpy (platformFilePrefix, " SFE_Facet_LBand_Direct" , sizeof (platformFilePrefix) - 1 );
294- strncpy (platformPrefix, " Facet L-Band Direct" , sizeof (platformPrefix) - 1 );
295-
296269 // Override the default setting if a user has not explicitly configured the setting
297270 if (settings.useI2cForLbandCorrectionsConfigured == false )
298271 settings.useI2cForLbandCorrections = false ;
@@ -303,9 +276,6 @@ void beginBoard()
303276 // No powerOnCheck
304277
305278 settings.enablePrintBatteryMessages = false ; // No pesky battery messages
306-
307- strncpy (platformFilePrefix, " SFE_Reference_Station" , sizeof (platformFilePrefix) - 1 );
308- strncpy (platformPrefix, " Reference Station" , sizeof (platformPrefix) - 1 );
309279 }
310280
311281 char versionString[21 ];
0 commit comments