From 7cb07d8e8e8f055b5a259828ccd42d062e291405 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Thu, 4 Jan 2024 15:19:09 +0100 Subject: [PATCH] Fix missing GPS PG parameter (#13248) --- src/main/pg/gps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/pg/gps.c b/src/main/pg/gps.c index 750e43530..d7d7b202a 100644 --- a/src/main/pg/gps.c +++ b/src/main/pg/gps.c @@ -29,7 +29,7 @@ #include "gps.h" -PG_REGISTER_WITH_RESET_TEMPLATE(gpsConfig_t, gpsConfig, PG_GPS_CONFIG, 3); +PG_REGISTER_WITH_RESET_TEMPLATE(gpsConfig_t, gpsConfig, PG_GPS_CONFIG, 4); PG_RESET_TEMPLATE(gpsConfig_t, gpsConfig, .provider = GPS_UBLOX, @@ -44,6 +44,7 @@ PG_RESET_TEMPLATE(gpsConfig_t, gpsConfig, .gps_use_3d_speed = false, .sbas_integrity = false, .gps_ublox_utc_standard = UBLOX_UTC_STANDARD_AUTO, + .nmeaCustomCommands = "", ); #endif // USE_GPS -- 2.11.4.GIT