Cut down delay times for GPS probe and init

This commit is contained in:
Jonathan Bennett
2023-08-31 20:39:23 -05:00
parent 3d2c419d0d
commit cf762bbd42
2 changed files with 31 additions and 28 deletions

View File

@@ -161,7 +161,7 @@ class GPS : private concurrency::OSThread
*/
uint32_t getSleepTime() const;
bool getACK(uint8_t c, uint8_t i);
bool getACK(uint8_t c, uint8_t i, int waitMillis);
/**
* Tell users we have new GPS readings
@@ -174,7 +174,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 getAck(uint8_t *buffer, uint16_t size, uint8_t requestedClass, uint8_t requestedID, int waitMillis);
// delay counter to allow more sats before fixed position stops GPS thread
uint8_t fixeddelayCtr = 0;