mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_ADC_AnalogSource: added voltage_average_ratiometric()
This commit is contained in:
parent
cec08be9cb
commit
48cfdac6f0
@ -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) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user