Merge pull request #8505 from mikeller/fix_msp_conditionals

Fixed USE_MAX7456 conditional in 'msp.c'.
This commit is contained in:
Michael Keller 2019-06-30 22:44:38 +12:00 committed by GitHub
commit d7f62a710c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -504,8 +504,8 @@ static bool mspCommonProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, mspPostProce
#else
sbufWriteU16(dst, 0); // No other build targets currently have hardware revision detection.
#endif
#if defined(USE_OSD) && defined(USE_MAX7456)
sbufWriteU8(dst, 2); // 2 == FC with OSD
#if defined(USE_MAX7456)
sbufWriteU8(dst, 2); // 2 == FC with MAX7456
#else
sbufWriteU8(dst, 0); // 0 == FC
#endif