XN297EMU: option=0->nrf24L01, option!=0 -> CC2500

XN297L@250kbps is emulated by default with the NRF24L01. If option (freq tune) is diffrent from 0, the CC2500 module (if installed) will be used instead with option being the freq usual tuning.
This commit is contained in:
pascallanger
2020-01-12 14:06:27 +01:00
parent 953a97dae4
commit 6a9b6ed4be
12 changed files with 408 additions and 426 deletions

View File

@@ -207,7 +207,6 @@
#undef CORONA_CC2500_INO
#undef REDPINE_CC2500_INO
#undef HITEC_CC2500_INO
#undef XN297L_CC2500_EMU
#undef SCANNER_CC2500_INO
#undef FRSKY_RX_CC2500_INO
#undef HOTT_CC2500_INO
@@ -245,7 +244,6 @@
#undef E01X_NRF24L01_INO
#undef V761_NRF24L01_INO
#undef V911S_NRF24L01_INO
#undef XN297L_CC2500_EMU
#undef POTENSIC_NRF24L01_INO
#undef ZSX_NRF24L01_INO
#undef BAYANG_RX_NRF24L01_INO
@@ -357,9 +355,7 @@
#if not defined(MULTI_TELEMETRY)
#undef MULTI_SYNC
#undef MULTI_NAMES
#endif
#if defined(MULTI_TELEMETRY)
#else
#define MULTI_NAMES
#endif
@@ -428,4 +424,4 @@
#if not defined (DI_CH1_read) && not defined (DI_CH2_read) && not defined (DI_CH3_read) && not defined (DI_CH4_read)
#error You must define at least 1 direct input chanell read macros or undefine ENABLE_DIRECT_INPUTS in config.
#endif
#endif
#endif