From 2422e3438567bf307ccdc1adf6ca2b8484560346 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sun, 8 Nov 2020 12:04:12 +1300 Subject: [PATCH] Merge pull request #10326 from etracer65/fix_cc2500_common Fix cc2500_common define block --- src/main/rx/cc2500_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/rx/cc2500_common.c b/src/main/rx/cc2500_common.c index 400d56e74..f7020d735 100644 --- a/src/main/rx/cc2500_common.c +++ b/src/main/rx/cc2500_common.c @@ -50,6 +50,7 @@ static IO_t rxLnaEnPin; #if defined(USE_RX_CC2500_SPI_DIVERSITY) static IO_t antSelPin; #endif +#endif static int16_t rssiDbm; @@ -159,7 +160,6 @@ bool cc2500SpiInit(void) return true; } -#endif void cc2500ApplyRegisterConfig(const cc2500RegisterConfigElement_t *configArrayPtr, int configSize) { -- 2.11.4.GIT