From d9658cc00d66b467b7e8df29ab928f53931d5496 Mon Sep 17 00:00:00 2001 From: jflyper Date: Sat, 10 Oct 2020 12:24:30 +0900 Subject: [PATCH] Modify (fix) outer level conditional to cover till the end --- src/main/rx/cc2500_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/rx/cc2500_common.c b/src/main/rx/cc2500_common.c index 61d1806f4d..400d56e744 100644 --- a/src/main/rx/cc2500_common.c +++ b/src/main/rx/cc2500_common.c @@ -50,7 +50,7 @@ static IO_t rxLnaEnPin; #if defined(USE_RX_CC2500_SPI_DIVERSITY) static IO_t antSelPin; #endif -#endif + static int16_t rssiDbm; uint16_t cc2500getRssiDbm(void) @@ -169,3 +169,4 @@ void cc2500ApplyRegisterConfig(const cc2500RegisterConfigElement_t *configArrayP configArrayPtr++; } } +#endif