ardupilot/libraries/AP_LeakDetector/AP_LeakDetector_Analog.h

14 lines
334 B
C++

#pragma once
#include "AP_LeakDetector_Backend.h"
#include <AP_HAL/AP_HAL.h>
class AP_LeakDetector_Analog : public AP_LeakDetector_Backend {
public:
AP_LeakDetector_Analog(AP_LeakDetector &_leak_detector, AP_LeakDetector::LeakDetector_State &_state);
void read(void) override;
private:
AP_HAL::AnalogSource *source;
};