More fixes for GPS chips with unexpected baud

This commit is contained in:
Jonathan Bennett
2023-09-01 11:55:46 -05:00
parent a61f969773
commit 6803fd7949
2 changed files with 51 additions and 31 deletions

View File

@@ -161,8 +161,6 @@ class GPS : private concurrency::OSThread
*/
uint32_t getSleepTime() const;
bool getACK(uint8_t c, uint8_t i, int waitMillis);
/**
* Tell users we have new GPS readings
*/
@@ -175,7 +173,8 @@ class GPS : private concurrency::OSThread
GnssModel_t probe(int serialSpeed);
int getAck(uint8_t *buffer, uint16_t size, uint8_t requestedClass, uint8_t requestedID, int waitMillis);
bool getACK(uint8_t c, uint8_t i, int waitMillis);
bool getACK(const char *message, int waitMillis);
// delay counter to allow more sats before fixed position stops GPS thread
uint8_t fixeddelayCtr = 0;