mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Use debug outputs to show ADC readings.
This commit is contained in:
parent
e79438d930
commit
0ec5c2cdca
2 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue