diff --git a/src/main/fc/fc_msp.c b/src/main/fc/fc_msp.c index 232a00c1da..c3d27342c2 100755 --- a/src/main/fc/fc_msp.c +++ b/src/main/fc/fc_msp.c @@ -812,8 +812,10 @@ static bool mspFcProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, mspPostProcessFn #ifdef GPS case MSP_GPS_CONFIG: - sbufWriteU8(dst, gpsConfig()->provider); // gps_type - sbufWriteU8(dst, gpsConfig()->sbasMode); // gps_ubx_sbas + sbufWriteU8(dst, gpsConfig()->provider); + sbufWriteU8(dst, gpsConfig()->sbasMode); + sbufWriteU8(dst, gpsConfig()->autoConfig); + sbufWriteU8(dst, gpsConfig()->autoBaud); break; case MSP_RAW_GPS: @@ -1435,8 +1437,10 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src) #ifdef GPS case MSP_SET_GPS_CONFIG: - gpsConfigMutable()->provider = sbufReadU8(src); // gps_type - gpsConfigMutable()->sbasMode = sbufReadU8(src); // gps_ubx_sbas + gpsConfigMutable()->provider = sbufReadU8(src); + gpsConfigMutable()->sbasMode = sbufReadU8(src); + gpsConfigMutable()->autoConfig = sbufReadU8(src); + gpsConfigMutable()->autoBaud = sbufReadU8(src); break; #endif diff --git a/src/main/msp/msp_protocol.h b/src/main/msp/msp_protocol.h index badc002995..843dba0fc3 100644 --- a/src/main/msp/msp_protocol.h +++ b/src/main/msp/msp_protocol.h @@ -58,8 +58,8 @@ #define MSP_PROTOCOL_VERSION 0 -#define API_VERSION_MAJOR 1 // increment when major changes are made -#define API_VERSION_MINOR 33 // increment after a release, to set the version for all changes to go into the following release (if no changes to MSP are made between the releases, this can be reverted before the release) +#define API_VERSION_MAJOR 1 // increment when major changes are made +#define API_VERSION_MINOR 34 // increment after a release, to set the version for all changes to go into the following release (if no changes to MSP are made between the releases, this can be reverted before the release) #define API_VERSION_LENGTH 2