From 1ac5f8df278b57630dcd6ee9d43f21f60d7866b4 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:54:26 +0200 Subject: [PATCH] Rename setting to try to fix build --- docs/Settings.md | 2 +- src/main/fc/settings.yaml | 2 +- src/main/io/gps.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Settings.md b/docs/Settings.md index 737a742d87..b9970e706b 100644 --- a/docs/Settings.md +++ b/docs/Settings.md @@ -1422,7 +1422,7 @@ Which SBAS mode to be used --- -### gps_ublox7_nav_hz +### gps_ublox_nav_hz Navigation update rate for UBLOX7 receivers. Some receivers may limit the maximum number of satellites tracked when the value is too high. diff --git a/src/main/fc/settings.yaml b/src/main/fc/settings.yaml index ceef052aad..d6b50f9af1 100644 --- a/src/main/fc/settings.yaml +++ b/src/main/fc/settings.yaml @@ -1543,7 +1543,7 @@ groups: field: gpsMinSats min: 5 max: 10 - - name: gps_ublox7_nav_hz + - name: gps_ublox_nav_hz description: "Navigation update rate for UBLOX7 receivers. Some receivers may limit the maximum number of satellites tracked when the value is too high." default_value: 10 field: ubloxNavHz diff --git a/src/main/io/gps.c b/src/main/io/gps.c index cb98bd042b..3dc1df7bd1 100755 --- a/src/main/io/gps.c +++ b/src/main/io/gps.c @@ -122,7 +122,7 @@ PG_RESET_TEMPLATE(gpsConfig_t, gpsConfig, .dynModel = SETTING_GPS_DYN_MODEL_DEFAULT, .gpsMinSats = SETTING_GPS_MIN_SATS_DEFAULT, .ubloxUseGalileo = SETTING_GPS_UBLOX_USE_GALILEO_DEFAULT, - .ubloxNavHz = SETTING_GPS_UBLOX7_NAV_HZ_DEFAULT + .ubloxNavHz = SETTING_GPS_UBLOX_NAV_HZ_DEFAULT ); void gpsSetState(gpsState_e state)