@@ -172,9 +172,6 @@ void beginBoard()
172172 // Bug in ZED-F9P v1.13 firmware causes RTK LED to not light when RTK Floating with SBAS on.
173173 // The following changes the POR default but will be overwritten by settings in NVM or settings file
174174 settings.ubxConstellations [1 ].enabled = false ;
175-
176- strncpy (platformFilePrefix, " SFE_Surveyor" , sizeof (platformFilePrefix) - 1 );
177- strncpy (platformPrefix, " Surveyor" , sizeof (platformPrefix) - 1 );
178175 }
179176 else if (productVariant == RTK_EXPRESS || productVariant == RTK_EXPRESS_PLUS)
180177 {
@@ -198,17 +195,6 @@ void beginBoard()
198195 pinMode (pin_setupButton, INPUT_PULLUP);
199196
200197 setMuxport (settings.dataPortChannel ); // Set mux to user's choice: NMEA, I2C, PPS, or DAC
201-
202- if (productVariant == RTK_EXPRESS)
203- {
204- strncpy (platformFilePrefix, " SFE_Express" , sizeof (platformFilePrefix) - 1 );
205- strncpy (platformPrefix, " Express" , sizeof (platformPrefix) - 1 );
206- }
207- else if (productVariant == RTK_EXPRESS_PLUS)
208- {
209- strncpy (platformFilePrefix, " SFE_Express_Plus" , sizeof (platformFilePrefix) - 1 );
210- strncpy (platformPrefix, " Express Plus" , sizeof (platformPrefix) - 1 );
211- }
212198 }
213199 else if (productVariant == RTK_FACET || productVariant == RTK_FACET_LBAND ||
214200 productVariant == RTK_FACET_LBAND_DIRECT)
@@ -247,21 +233,8 @@ void beginBoard()
247233 pinMode (pin_radio_cts, OUTPUT);
248234 digitalWrite (pin_radio_cts, LOW);
249235
250- if (productVariant == RTK_FACET )
236+ if (productVariant == RTK_FACET_LBAND_DIRECT )
251237 {
252- strncpy (platformFilePrefix, " SFE_Facet" , sizeof (platformFilePrefix) - 1 );
253- strncpy (platformPrefix, " Facet" , sizeof (platformPrefix) - 1 );
254- }
255- else if (productVariant == RTK_FACET_LBAND)
256- {
257- strncpy (platformFilePrefix, " SFE_Facet_LBand" , sizeof (platformFilePrefix) - 1 );
258- strncpy (platformPrefix, " Facet L-Band" , sizeof (platformPrefix) - 1 );
259- }
260- else if (productVariant == RTK_FACET_LBAND_DIRECT)
261- {
262- strncpy (platformFilePrefix, " SFE_Facet_LBand_Direct" , sizeof (platformFilePrefix) - 1 );
263- strncpy (platformPrefix, " Facet L-Band Direct" , sizeof (platformPrefix) - 1 );
264-
265238 // Override the default setting if a user has not explicitly configured the setting
266239 if (settings.useI2cForLbandCorrectionsConfigured == false )
267240 settings.useI2cForLbandCorrections = false ;
@@ -272,9 +245,6 @@ void beginBoard()
272245 // No powerOnCheck
273246
274247 settings.enablePrintBatteryMessages = false ; // No pesky battery messages
275-
276- strncpy (platformFilePrefix, " SFE_Reference_Station" , sizeof (platformFilePrefix) - 1 );
277- strncpy (platformPrefix, " Reference Station" , sizeof (platformPrefix) - 1 );
278248 }
279249
280250 char versionString[21 ];
0 commit comments