Fix CC2500 driver gating on USE_RX_SPI. (#12014)
commitdc05fb6ea67ce94b82eee20de6e185116f418289
authorDominic Clifton <dominic.clifton@cleanflight.com>
Tue, 22 Nov 2022 17:04:36 +0000 (22 18:04 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2022 17:04:36 +0000 (22 18:04 +0100)
tree66eaa88ac1796c507e531d7b70341ac65e2a6ad8
parent127aa52094d5ee7de3e422dc1cbead0799c5b8fe
Fix CC2500 driver gating on USE_RX_SPI. (#12014)

It was impossible to build an ELRS target without also including all the
code for the CC2500 driver.

This adds `#define USE_RX_CC2500` everywhere `USE_RX_SPI` was previously
used and fixes the gating.
docs/Manufacturer Design Guidelines.md
src/main/target/STM32F405/target.h
src/main/target/STM32F411/target.h
src/main/target/STM32F745/target.h
src/main/target/STM32F7X2/target.h
src/main/target/STM32G47X/target.h
src/main/target/STM32H723/target.h
src/main/target/STM32H743/target.h
src/main/target/common_post.h