AP_HAL: AnalogIn read changed to read_latest and read_average

This commit is contained in:
Pat Hickey 2012-12-06 15:57:30 -08:00 committed by Andrew Tridgell
parent 6218d7779f
commit ca4bc8d760

View File

@ -6,7 +6,8 @@
class AP_HAL::AnalogSource {
public:
virtual float read() = 0;
virtual float read_average() = 0;
virtual float read_latest() = 0;
virtual void set_pin(uint8_t p) = 0;
};