Fix possible edge case in GPS detection

This commit is contained in:
Jonathan Bennett
2023-09-01 16:23:52 -05:00
parent 5bd861f3d8
commit 5d6f0ea6c4
2 changed files with 15 additions and 16 deletions

View File

@@ -172,7 +172,7 @@ 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);
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