From 0ec5c2cdca05df8cf26b8ee1d7a2a41f6dffd58e Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Fri, 30 May 2014 11:10:23 +0100 Subject: [PATCH] Use debug outputs to show ADC readings. --- src/drivers/adc_common.c | 2 +- src/rx_common.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/drivers/adc_common.c b/src/drivers/adc_common.c index e55469372..0d380b011 100755 --- a/src/drivers/adc_common.c +++ b/src/drivers/adc_common.c @@ -15,7 +15,7 @@ extern int16_t debug[4]; uint16_t adcGetChannel(uint8_t channel) { -#if 0 +#if 1 if (adcConfig[0].enabled) { debug[0] = adcValues[adcConfig[0].dmaIndex]; } diff --git a/src/rx_common.c b/src/rx_common.c index b6c722c2c..ef2b4a37e 100644 --- a/src/rx_common.c +++ b/src/rx_common.c @@ -336,7 +336,6 @@ void updateRSSI(uint32_t currentTime) } else if (feature(FEATURE_RSSI_ADC)) { updateRSSIADC(currentTime); } - debug[0] = rssi; }