From dfad61b4a8680ae606a47b6defd778adeea2a5f3 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Sun, 6 Aug 2023 15:54:17 +0200 Subject: [PATCH] Make sure autoBaudMax default is set correctly --- src/main/io/gps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/io/gps.c b/src/main/io/gps.c index 2c66b98c0..4d7380e84 100755 --- a/src/main/io/gps.c +++ b/src/main/io/gps.c @@ -125,7 +125,8 @@ PG_RESET_TEMPLATE(gpsConfig_t, gpsConfig, .ubloxUseGalileo = SETTING_GPS_UBLOX_USE_GALILEO_DEFAULT, .ubloxUseBeidou = SETTING_GPS_UBLOX_USE_BEIDOU_DEFAULT, .ubloxUseGlonass = SETTING_GPS_UBLOX_USE_GLONASS_DEFAULT, - .ubloxNavHz = SETTING_GPS_UBLOX_NAV_HZ_DEFAULT + .ubloxNavHz = SETTING_GPS_UBLOX_NAV_HZ_DEFAULT, + .autoBaudMax = SETTING_GPS_AUTO_BAUD_MAX_SUPPORTED_DEFAULT ); int gpsBaudRateToInt(gpsBaudRate_e baudrate) -- 2.11.4.GIT