Move 115200 baud GNSS probe earlier (#5101)

* Move 115200 baud GNSS probe earlier

* Even more optimized!
This commit is contained in:
Ben Meadors 2024-10-19 20:05:52 -05:00 committed by GitHub
parent 4575352d8c
commit 7e3931b05d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,7 @@ class GPS : private concurrency::OSThread
uint8_t fixType = 0; // fix type from GPGSA
#endif
private:
const int serialSpeeds[6] = {9600, 4800, 38400, 57600, 115200, 9600};
const int serialSpeeds[6] = {9600, 115200, 38400, 4800, 57600, 9600};
uint32_t lastWakeStartMsec = 0, lastSleepStartMsec = 0, lastFixStartMsec = 0;
uint32_t rx_gpio = 0;
uint32_t tx_gpio = 0;