Cleanup in prep for commiting

Fix some compilation warnings
gate debug code behind GPS_DEBUG
minor fix in u-blox protocol detection
Begin to gate GPS messages based on protover
This commit is contained in:
Jonathan Bennett
2023-09-03 01:50:11 -05:00
parent b21368ecfa
commit 7c98445ca3
2 changed files with 40 additions and 30 deletions
+3 -3
View File
@@ -179,9 +179,9 @@ class GPS : private concurrency::OSThread
String getNMEA();
GnssModel_t probe(int serialSpeed);
int getACK(uint8_t *buffer, uint16_t size, uint8_t requestedClass, uint8_t requestedID, int waitMillis);
GPS_RESPONSE getACK(uint8_t c, uint8_t i, int waitMillis);
GPS_RESPONSE getACK(const char *message, int waitMillis);
int getACK(uint8_t *buffer, uint16_t size, uint8_t requestedClass, uint8_t requestedID, uint32_t waitMillis);
GPS_RESPONSE getACK(uint8_t c, uint8_t i, uint32_t waitMillis);
GPS_RESPONSE getACK(const char *message, uint32_t waitMillis);
// delay counter to allow more sats before fixed position stops GPS thread
uint8_t fixeddelayCtr = 0;