Skip to content

Commit

Permalink
Modify RareSerial Speeds based on FIXED or not.
Browse files Browse the repository at this point in the history
  • Loading branch information
fifieldt committed Nov 2, 2024
1 parent fd19200 commit ffb4bff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gps/GPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ class GPS : private concurrency::OSThread
#if GPS_BAUDRATE_FIXED
// if GPS_BAUDRATE is specified in variant, only try that.
const int serialSpeeds[1] = {GPS_BAUDRATE};
const int rareSerialSpeeds[1] = {GPS_BAUDRATE};
#else
const int serialSpeeds[3] = {9600, 115200, 38400};
#endif
const int rareSerialSpeeds[3] = {4800, 57600, GPS_BAUDRATE};
#endif

uint32_t lastWakeStartMsec = 0, lastSleepStartMsec = 0, lastFixStartMsec = 0;
uint32_t rx_gpio = 0;
Expand Down

0 comments on commit ffb4bff

Please sign in to comment.