From e08c5d4b6058368d97494e450b7f6915c01b274c Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Thu, 22 Dec 2022 12:30:39 +0100 Subject: [PATCH] Fixes for cherypicks --- src/main/cli/cli.c | 2 ++ src/main/rx/rx_spi.c | 1 + src/main/target/CRAZYBEEF3FR/target.h | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/src/main/cli/cli.c b/src/main/cli/cli.c index 57b886a503c..92e5c87a460 100644 --- a/src/main/cli/cli.c +++ b/src/main/cli/cli.c @@ -3376,6 +3376,8 @@ void cliRxBind(char *cmdline){ #if defined(USE_RX_FRSKY_SPI_X) case RX_SPI_FRSKY_X: case RX_SPI_FRSKY_X_LBT: + case RX_SPI_FRSKY_X_V2: + case RX_SPI_FRSKY_X_LBT_V2: #endif #endif // USE_RX_FRSKY_SPI #ifdef USE_RX_SFHSS_SPI diff --git a/src/main/rx/rx_spi.c b/src/main/rx/rx_spi.c index 8d48952d964..1885d5c9c92 100644 --- a/src/main/rx/rx_spi.c +++ b/src/main/rx/rx_spi.c @@ -143,6 +143,7 @@ STATIC_UNIT_TESTED bool rxSpiSetProtocol(rx_spi_protocol_e protocol) protocolProcessFrame = frSkySpiProcessFrame; break; +#endif #endif // USE_RX_FRSKY_SPI #ifdef USE_RX_FLYSKY case RX_SPI_A7105_FLYSKY: diff --git a/src/main/target/CRAZYBEEF3FR/target.h b/src/main/target/CRAZYBEEF3FR/target.h index ed420b73de8..1f6d2b2b28b 100644 --- a/src/main/target/CRAZYBEEF3FR/target.h +++ b/src/main/target/CRAZYBEEF3FR/target.h @@ -70,6 +70,11 @@ #define USE_DSHOT_TELEMETRY_STATS #define USE_RPM_FILTER #define USE_RX_LINK_QUALITY_INFO +#define USE_RX_SPI +#define USE_RX_FRSKY_SPI +#define USE_RX_FRSKY_SPI_D +#define USE_RX_FRSKY_SPI_X +#define USE_RX_BIND // Mis modificaciones - Fin #endif