mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
COLIBRI RACE support
This commit is contained in:
parent
a373c095e3
commit
3b1f423c49
20 changed files with 819 additions and 7 deletions
2
src/main/io/gps.c
Normal file → Executable file
2
src/main/io/gps.c
Normal file → Executable file
|
@ -238,7 +238,7 @@ void gpsInit(serialConfig_t *initialSerialConfig, gpsConfig_t *initialGpsConfig)
|
|||
portMode_t mode = MODE_RXTX;
|
||||
// only RX is needed for NMEA-style GPS
|
||||
if (gpsConfig->provider == GPS_NMEA)
|
||||
mode &= ~MODE_TX;
|
||||
mode &= ~MODE_TX;
|
||||
|
||||
// no callback - buffer will be consumed in gpsThread()
|
||||
gpsPort = openSerialPort(gpsPortConfig->identifier, FUNCTION_GPS, NULL, gpsInitData[gpsData.baudrateIndex].baudrateIndex, mode, SERIAL_NOT_INVERTED);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue