mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
parent
8fcffa1454
commit
3b77626dd8
5 changed files with 21 additions and 17 deletions
|
@ -290,6 +290,7 @@ void init(void)
|
|||
#ifdef USE_ADC
|
||||
drv_adc_config_t adc_params;
|
||||
|
||||
adc_params.enableVBat = feature(FEATURE_VBAT);
|
||||
adc_params.enableRSSI = feature(FEATURE_RSSI_ADC);
|
||||
adc_params.enableCurrentMeter = feature(FEATURE_CURRENT_METER);
|
||||
adc_params.enableExternal1 = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue