mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
CF/BF - rename adcConfig.currentMeter to adcConfig.current
This commit is contained in:
parent
dbd819c85a
commit
249c707beb
7 changed files with 12 additions and 12 deletions
|
@ -378,7 +378,7 @@ void init(void)
|
|||
|
||||
#ifdef USE_ADC
|
||||
adcConfigMutable()->vbat.enabled = (batteryConfig()->voltageMeterSource == VOLTAGE_METER_ADC);
|
||||
adcConfigMutable()->currentMeter.enabled = (batteryConfig()->currentMeterSource == CURRENT_METER_ADC);
|
||||
adcConfigMutable()->current.enabled = (batteryConfig()->currentMeterSource == CURRENT_METER_ADC);
|
||||
|
||||
adcConfigMutable()->rssi.enabled = feature(FEATURE_RSSI_ADC);
|
||||
adcInit(adcConfig());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue