File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ void beginSD()
161161 // Max current is 200mA average across 1s, peak 300mA
162162 delay (10 );
163163
164- // if (sd.begin(SdSpiConfig(pin_microSD_CS, DEDICATED_SPI, SD_SCK_MHZ(settings.spiFrequency))) == false)
165164 if (sd.begin (SdSpiConfig (pin_microSD_CS, SHARED_SPI, SD_SCK_MHZ (settings.spiFrequency ))) == false )
166165 {
167166 int tries = 0 ;
@@ -171,7 +170,6 @@ void beginSD()
171170 Serial.printf (" SD init failed. Trying again %d out of %d\n\r " , tries + 1 , maxTries);
172171
173172 delay (250 ); // Give SD more time to power up, then try again
174- // if (sd.begin(SdSpiConfig(pin_microSD_CS, DEDICATED_SPI, SD_SCK_MHZ(settings.spiFrequency))) == true) break;
175173 if (sd.begin (SdSpiConfig (pin_microSD_CS, SHARED_SPI, SD_SCK_MHZ (settings.spiFrequency ))) == true ) break ;
176174 }
177175
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ void loadSettings()
3434 EEPROM.get (sizeof (int ), tempIdentifier); // Load the identifier from the EEPROM location after sizeOfSettings (int)
3535 if (tempIdentifier != RTK_IDENTIFIER)
3636 {
37- Serial.println ( F ( " Settings are not valid for this variant of RTK Surveyor . Default settings applied" ) );
37+ Serial.printf ( " Settings are not valid for this variant of RTK %s . Default settings applied. \n\r " , platformPrefix );
3838 recordSystemSettings (); // Record default settings to EEPROM and config file. At power on, settings are in default state
3939 }
4040
Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ struct struct_settings {
293293 uint8_t resetCount = 0 ;
294294} settings ;
295295
296- //These are the devices on board RTK Surveyor that may be on or offline.
296+ //Monitor which devices on the device are on or offline.
297297struct struct_online {
298298 bool microSD = false;
299299 bool display = false;
You can’t perform that action at this time.
0 commit comments