Skip to content

Commit

Permalink
Merge pull request #8505 from mikeller/fix_msp_conditionals
Browse files Browse the repository at this point in the history
Fixed USE_MAX7456 conditional in 'msp.c'.
  • Loading branch information
mikeller committed Jun 30, 2019
1 parent 74fd7c3 commit 1cdb21c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/msp/msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,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
Expand Down

0 comments on commit 1cdb21c

Please sign in to comment.