Use debug outputs to show ADC readings.
This commit is contained in:
parent
e79438d930
commit
0ec5c2cdca
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue