Skip to content

Commit

Permalink
Move 115200 baud GNSS probe earlier (#5101)
Browse files Browse the repository at this point in the history
* Move 115200 baud GNSS probe earlier

* Even more optimized!
  • Loading branch information
thebentern authored and caveman99 committed Nov 3, 2024
1 parent 523be32 commit ff39456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gps/GPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ff39456

Please sign in to comment.