diff --git a/src/Power.cpp b/src/Power.cpp index e88d241ad..ebe51b2bb 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -104,8 +104,8 @@ class AnalogBatteryLevel : public HasBatteryLevel #ifdef BATTERY_PIN // Override variant or default ADC_MULTIPLIER if we have the override pref - float operativeAdcMultiplier = radioConfig.preferences.adc_multiplier_override > 0 - ? radioConfig.preferences.adc_multiplier_override + float operativeAdcMultiplier = config.payloadVariant.power.adc_multiplier_override > 0 + ? config.payloadVariant.power.adc_multiplier_override : ADC_MULTIPLIER; // Do not call analogRead() often. const uint32_t min_read_interval = 5000;