mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
FIX: CC2500 not building due to undefined pins. (#12125)
See:
d84f1a9ce8/log
This commit is contained in:
parent
3f86b55883
commit
1fdf2ece0b
2 changed files with 12 additions and 14 deletions
|
@ -22,6 +22,18 @@
|
|||
|
||||
#if defined(USE_RX_CC2500)
|
||||
|
||||
#if !defined(RX_CC2500_SPI_TX_EN_PIN)
|
||||
#define RX_CC2500_SPI_TX_EN_PIN NONE
|
||||
#endif
|
||||
|
||||
#if !defined(RX_CC2500_SPI_LNA_EN_PIN)
|
||||
#define RX_CC2500_SPI_LNA_EN_PIN NONE
|
||||
#endif
|
||||
|
||||
#if !defined(RX_CC2500_SPI_ANT_SEL_PIN)
|
||||
#define RX_CC2500_SPI_ANT_SEL_PIN NONE
|
||||
#endif
|
||||
|
||||
#include "drivers/io.h"
|
||||
|
||||
#include "pg/pg.h"
|
||||
|
|
|
@ -291,20 +291,6 @@
|
|||
#define RX_SPI_BIND_PIN NONE
|
||||
#endif
|
||||
|
||||
#if defined(USE_RX_CC2500)
|
||||
#if !defined(RX_CC2500_SPI_TX_EN_PIN)
|
||||
#define RX_CC2500_SPI_TX_EN_PIN NONE
|
||||
#endif
|
||||
|
||||
#if !defined(RX_CC2500_SPI_LNA_EN_PIN)
|
||||
#define RX_CC2500_SPI_LNA_EN_PIN NONE
|
||||
#endif
|
||||
|
||||
#if !defined(RX_CC2500_SPI_ANT_SEL_PIN)
|
||||
#define RX_CC2500_SPI_ANT_SEL_PIN NONE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(USE_RX_EXPRESSLRS)
|
||||
#if !defined(RX_EXPRESSLRS_SPI_RESET_PIN)
|
||||
#define RX_EXPRESSLRS_SPI_RESET_PIN NONE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue