diff --git a/src/main/fc/fc_msp.c b/src/main/fc/fc_msp.c index f86bbcbaa6..09d14c29dc 100755 --- a/src/main/fc/fc_msp.c +++ b/src/main/fc/fc_msp.c @@ -567,6 +567,15 @@ static bool mspFcProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, mspPostProcessFn sbufWriteU16(dst, hardwareRevision); #else sbufWriteU16(dst, 0); // No other build targets currently have hardware revision detection. +#endif +#ifdef USE_OSD_SLAVE + sbufWriteU8(dst, 1); // 1 == OSD +#else +#if defined(OSD) && defined(USE_MAX7456) + sbufWriteU8(dst, 2); // 2 == FC with OSD +#else + sbufWriteU8(dst, 0); // 0 == FC +#endif #endif break; diff --git a/src/main/msp/msp_protocol.h b/src/main/msp/msp_protocol.h index 843dba0fc3..f8c8eadf18 100644 --- a/src/main/msp/msp_protocol.h +++ b/src/main/msp/msp_protocol.h @@ -59,7 +59,7 @@ #define MSP_PROTOCOL_VERSION 0 #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_MINOR 35 // 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