Use debug outputs to show ADC readings.

This commit is contained in:
Dominic Clifton 2014-05-30 11:10:23 +01:00
parent e79438d930
commit 0ec5c2cdca
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@ extern int16_t debug[4];
uint16_t adcGetChannel(uint8_t channel) uint16_t adcGetChannel(uint8_t channel)
{ {
#if 0 #if 1
if (adcConfig[0].enabled) { if (adcConfig[0].enabled) {
debug[0] = adcValues[adcConfig[0].dmaIndex]; debug[0] = adcValues[adcConfig[0].dmaIndex];
} }

View File

@ -336,7 +336,6 @@ void updateRSSI(uint32_t currentTime)
} else if (feature(FEATURE_RSSI_ADC)) { } else if (feature(FEATURE_RSSI_ADC)) {
updateRSSIADC(currentTime); updateRSSIADC(currentTime);
} }
debug[0] = rssi;
} }