mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
GPS: clean up NMEA autodetect baud. -1 no longer used, it will cycle through available baud rates if no data is received anyway
This commit is contained in:
parent
0f84e41f4f
commit
2ca082f09c
3 changed files with 2 additions and 5 deletions
2
src/mw.h
2
src/mw.h
|
@ -272,7 +272,7 @@ typedef struct master_t {
|
|||
|
||||
// gps-related stuff
|
||||
uint8_t gps_type; // Type of GPS hardware. 0: NMEA 1: UBX 2: MTK NMEA 3: MTK Binary
|
||||
int8_t gps_baudrate; // GPS baudrate, -1: autodetect (NMEA only), 0: 115200, 1: 57600, 2: 38400, 3: 19200, 4: 9600
|
||||
int8_t gps_baudrate; // GPS baudrate, 0: 115200, 1: 57600, 2: 38400, 3: 19200, 4: 9600. NMEA will cycle through these until valid data is received
|
||||
|
||||
uint32_t serial_baudrate;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue