@@ -93,7 +93,7 @@ uint8_t activeProfiles = 0; //Bit vector indicating which profiles are active
9393uint8_t displayProfile; // Range: 0 - (MAX_PROFILE_COUNT - 1)
9494uint8_t profileNumber = MAX_PROFILE_COUNT; // profileNumber gets set once at boot to save loading time
9595char profileNames[MAX_PROFILE_COUNT][50 ]; // Populated based on names found in LittleFS and SD
96- char settingsFileName[40 ]; // Contains the %s_Settings_%d.txt with current profile number set
96+ char settingsFileName[60 ]; // Contains the %s_Settings_%d.txt with current profile number set
9797// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
9898
9999// Handy library for setting ESP32 system time to GNSS time
@@ -228,7 +228,7 @@ float battChangeRate = 0.0;
228228#include " src/BluetoothSerial/BluetoothSerial.h"
229229#endif
230230
231- char platformPrefix[40 ] = " Surveyor" ; // Sets the prefix for broadcast names
231+ char platformPrefix[55 ] = " Surveyor" ; // Sets the prefix for broadcast names
232232
233233HardwareSerial serialGNSS (2 ); // TX on 17, RX on 16
234234
@@ -341,7 +341,7 @@ float lBandEBNO = 0.0; //Used on system status menu
341341// Global variables
342342// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
343343uint8_t unitMACAddress[6 ]; // Use MAC address in BT broadcast and display
344- char deviceName[30 ]; // The serial string that is broadcast. Ex: 'Surveyor Base-BC61'
344+ char deviceName[70 ]; // The serial string that is broadcast. Ex: 'Surveyor Base-BC61'
345345const byte menuTimeout = 15 ; // Menus will exit/timeout after this number of seconds
346346int systemTime_minutes = 0 ; // Used to test if logging is less than max minutes
347347uint32_t powerPressedStartTime = 0 ; // Times how long user has been holding power button, used for power down
@@ -483,9 +483,6 @@ void setup()
483483
484484void loop ()
485485{
486- uint32_t delayTime;
487-
488-
489486 if (online.gnss == true )
490487 {
491488 i2cGNSS.checkUblox (); // Regularly poll to get latest data and any RTCM
@@ -756,5 +753,5 @@ void updateRTC()
756753
757754void printElapsedTime (const char * title)
758755{
759- Serial.printf (" %s: %d \n\r " , title, millis () - startTime);
756+ Serial.printf (" %s: %ld \n\r " , title, millis () - startTime);
760757}
0 commit comments