Skip to content

Commit 908cdea

Browse files
committed
Remove unused variables
1 parent ab7946d commit 908cdea

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ char deviceName[70]; //The serial string that is broadcast. Ex: 'Surveyor Base-B
372372
const byte menuTimeout = 15; //Menus will exit/timeout after this number of seconds
373373
int systemTime_minutes = 0; //Used to test if logging is less than max minutes
374374
uint32_t powerPressedStartTime = 0; //Times how long user has been holding power button, used for power down
375-
uint8_t debounceDelay = 20; //ms to delay between button reads
376375
bool inMainMenu = false; //Set true when in the serial config menu system.
377376

378377
uint32_t lastBattUpdate = 0;
@@ -408,8 +407,6 @@ uint32_t maxSurveyInWait_s = 60L * 15L; //Re-start survey-in after X seconds
408407

409408
uint32_t totalWriteTime = 0; //Used to calculate overall write speed using SdFat library
410409

411-
bool setupByPowerButton = false; //We can change setup via tapping power button
412-
413410
uint16_t svinObservationTime = 0; //Use globals so we don't have to request these values multiple times (slow response)
414411
float svinMeanAccuracy = 0;
415412

@@ -423,17 +420,6 @@ uint32_t triggerCount = 0; //Global copy - TM2 event counter
423420
uint32_t towMsR = 0; //Global copy - Time Of Week of rising edge (ms)
424421
uint32_t towSubMsR = 0; //Global copy - Millisecond fraction of Time Of Week of rising edge in nanoseconds
425422

426-
int timeBetweenGGAUpdate_ms = 10000; //GGA is required for Rev2 NTRIP casters. Don't transmit but once every 10 seconds
427-
long lastTransmittedGGA_ms = 0;
428-
429-
//Used for GGA sentence parsing from incoming NMEA
430-
bool ggaSentenceStarted = false;
431-
bool ggaSentenceComplete = false;
432-
bool ggaTransmitComplete = false; //Goes true once we transmit GGA to the caster
433-
char ggaSentence[128] = {0};
434-
byte ggaSentenceSpot = 0;
435-
int ggaSentenceEndSpot = 0;
436-
437423
bool newAPSettings = false; //Goes true when new setting is received via AP config. Allows us to record settings when combined with a reset.
438424

439425
unsigned int binBytesSent = 0; //Tracks firmware bytes sent over WiFi OTA update via AP config.

0 commit comments

Comments
 (0)