diff --git a/src/main/io/gps.c b/src/main/io/gps.c index c0f409f7b..10e29acd0 100755 --- a/src/main/io/gps.c +++ b/src/main/io/gps.c @@ -285,7 +285,7 @@ void gpsInit(void) #endif // no callback - buffer will be consumed in gpsUpdate() - gpsPort = openSerialPort(gpsPortConfig->identifier, FUNCTION_GPS, NULL, NULL, gpsInitData[gpsData.baudrateIndex].baudrateIndex, mode, SERIAL_NOT_INVERTED); + gpsPort = openSerialPort(gpsPortConfig->identifier, FUNCTION_GPS, NULL, NULL, baudRates[gpsInitData[gpsData.baudrateIndex].baudrateIndex], mode, SERIAL_NOT_INVERTED); if (!gpsPort) { featureClear(FEATURE_GPS); return;