Skip to content

Commit

Permalink
nmea: add baudrate 230400
Browse files Browse the repository at this point in the history
Required for Unicore UM982.

Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes authored and bkueng committed Feb 24, 2023
1 parent 82e9f6b commit 5366c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nmea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ int GPSDriverNMEA::configure(unsigned &baudrate, const GPSConfig &config)
}

// If we haven't found the GPS with the defined baudrate, we try other rates
const unsigned baudrates_to_try[] = {9600, 19200, 38400, 57600, 115200};
const unsigned baudrates_to_try[] = {9600, 19200, 38400, 57600, 115200, 230400};
unsigned test_baudrate;

for (unsigned int baud_i = 0; !_POS_received
Expand Down

0 comments on commit 5366c1a

Please sign in to comment.