2017-02-07 15:43:01 -04:00
|
|
|
#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);
|
2019-05-14 04:07:06 -03:00
|
|
|
void read(void) override;
|
2017-02-07 15:43:01 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
AP_HAL::AnalogSource *source;
|
|
|
|
};
|