mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Fixed USE_MAX7456 conditional in 'msp.c'.
This commit is contained in:
parent
23ca254277
commit
b40dc427c0
1 changed files with 2 additions and 2 deletions
|
@ -505,8 +505,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