RCInput.h 309 B

12345678910111213
  1. #pragma once
  2. #include "AP_HAL_Empty.h"
  3. class Empty::RCInput : public AP_HAL::RCInput {
  4. public:
  5. RCInput();
  6. void init() override;
  7. bool new_input() override;
  8. uint8_t num_channels() override;
  9. uint16_t read(uint8_t ch) override;
  10. uint8_t read(uint16_t* periods, uint8_t len) override;
  11. };