AP_LeakDetector_Analog.h 334 B

12345678910111213
  1. #pragma once
  2. #include "AP_LeakDetector_Backend.h"
  3. #include <AP_HAL/AP_HAL.h>
  4. class AP_LeakDetector_Analog : public AP_LeakDetector_Backend {
  5. public:
  6. AP_LeakDetector_Analog(AP_LeakDetector &_leak_detector, AP_LeakDetector::LeakDetector_State &_state);
  7. void read(void) override;
  8. private:
  9. AP_HAL::AnalogSource *source;
  10. };