ardupilot/libraries/AP_HAL_Linux/RCInput_Raspilot.h

19 lines
291 B
C++

#pragma once
#include "AP_HAL_Linux.h"
#include "RCInput.h"
class Linux::RCInput_Raspilot : public Linux::RCInput
{
public:
void init();
private:
uint32_t _last_timer;
AP_HAL::SPIDeviceDriver *_spi;
AP_HAL::Semaphore *_spi_sem;
void _poll_data(void);
};