Skip to content

Commit

Permalink
Fixed USE_MAX7456 conditional in 'msp.c'.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller committed Jun 29, 2019
1 parent 23ca254 commit b40dc42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/msp/msp.c
Expand Up @@ -505,8 +505,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 b40dc42

Please sign in to comment.