You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
325 B
14 lines
325 B
8 years ago
|
#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);
|
||
|
|
||
|
private:
|
||
|
AP_HAL::AnalogSource *source;
|
||
|
};
|