AP_ADC_AnalogSource: added voltage_average_ratiometric()

This commit is contained in:
Andrew Tridgell 2013-05-13 15:13:59 +10:00
parent cec08be9cb
commit 48cfdac6f0

View File

@ -15,6 +15,7 @@ public:
float read_latest(void); float read_latest(void);
void set_pin(uint8_t); void set_pin(uint8_t);
float voltage_average(); float voltage_average();
float voltage_average_ratiometric() { return voltage_average(); }
// stop pins not implemented on ADC yet // stop pins not implemented on ADC yet
void set_stop_pin(uint8_t p) {} void set_stop_pin(uint8_t p) {}