From 48cfdac6f0b1a6d42670ddabb27e3ba5a9f08b3a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 May 2013 15:13:59 +1000 Subject: [PATCH] AP_ADC_AnalogSource: added voltage_average_ratiometric() --- libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.h | 1 + 1 file changed, 1 insertion(+) 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) {}