mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Merge pull request #8505 from mikeller/fix_msp_conditionals
Fixed USE_MAX7456 conditional in 'msp.c'.
This commit is contained in:
commit
d7f62a710c
1 changed files with 2 additions and 2 deletions
|
@ -504,8 +504,8 @@ static bool mspCommonProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, mspPostProce
|
||||||
#else
|
#else
|
||||||
sbufWriteU16(dst, 0); // No other build targets currently have hardware revision detection.
|
sbufWriteU16(dst, 0); // No other build targets currently have hardware revision detection.
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_OSD) && defined(USE_MAX7456)
|
#if defined(USE_MAX7456)
|
||||||
sbufWriteU8(dst, 2); // 2 == FC with OSD
|
sbufWriteU8(dst, 2); // 2 == FC with MAX7456
|
||||||
#else
|
#else
|
||||||
sbufWriteU8(dst, 0); // 0 == FC
|
sbufWriteU8(dst, 0); // 0 == FC
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue