virtual float voltage_average()=0
AP_LeakDetector_Analog(AP_LeakDetector &_leak_detector, AP_LeakDetector::LeakDetector_State &_state)
AP_LeakDetector & leak_detector
AP_Int8 _pin[LEAKDETECTOR_MAX_INSTANCES]
AP_HAL::AnalogSource * source
AP_LeakDetector::LeakDetector_State & state
AP_Int8 _default_reading[LEAKDETECTOR_MAX_INSTANCES]
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
virtual void set_pin(uint8_t p)=0
AP_HAL::AnalogIn * analogin
virtual AP_HAL::AnalogSource * channel(int16_t n)=0