Merge pull request #8505 from mikeller/fix_msp_conditionals
Fixed USE_MAX7456 conditional in 'msp.c'.
This commit is contained in:
commit
d7f62a710c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue