diff --git a/libraries/AP_GPS/AP_GPS_UBLOX.cpp b/libraries/AP_GPS/AP_GPS_UBLOX.cpp index 27ce1bb9fa394..7f3532097682b 100644 --- a/libraries/AP_GPS/AP_GPS_UBLOX.cpp +++ b/libraries/AP_GPS/AP_GPS_UBLOX.cpp @@ -998,7 +998,8 @@ int8_t AP_GPS_UBLOX::find_active_config_index(ConfigKey key) const return -1; } - +#pragma GCC diagnostic push +#pragma GCC diagnostic error "-Wframe-larger-than=2600" bool AP_GPS_UBLOX::_parse_gps(void) { @@ -1851,7 +1852,7 @@ AP_GPS_UBLOX::_parse_gps(void) } return false; } - +#pragma GCC diagnostic pop /* * handle pps interrupt */ diff --git a/libraries/AP_GPS/AP_GPS_UBLOX.h b/libraries/AP_GPS/AP_GPS_UBLOX.h index ccf4dfd58a46f..b91cf9a7b1ad2 100644 --- a/libraries/AP_GPS/AP_GPS_UBLOX.h +++ b/libraries/AP_GPS/AP_GPS_UBLOX.h @@ -57,7 +57,7 @@ #define UBLOX_RXM_RAW_LOGGING 1 #define UBLOX_MAX_RXM_RAW_SATS 22 -#define UBLOX_MAX_RXM_RAWX_SATS 32 +#define UBLOX_MAX_RXM_RAWX_SATS 80 #define UBLOX_GNSS_SETTINGS 1 #ifndef UBLOX_TIM_TM2_LOGGING #define UBLOX_TIM_TM2_LOGGING (BOARD_FLASH_SIZE>1024)