Skip to content
Snippets Groups Projects
Commit 48cfdac6 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AP_ADC_AnalogSource: added voltage_average_ratiometric()

parent cec08be9
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ public: ...@@ -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) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment