diff --git a/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.h b/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.h index 9817dd555f..c9ce70f206 100644 --- a/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.h +++ b/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.h @@ -15,6 +15,7 @@ public: float read_latest(void); void set_pin(uint8_t); float voltage_average(); + float voltage_average_ratiometric() { return voltage_average(); } // stop pins not implemented on ADC yet void set_stop_pin(uint8_t p) {}