ardupilot/libraries/AP_HAL_Linux/RCInput_Raspilot.h
Lucas De Marchi 2439826c19 AP_HAL_Linux: use init() method without arguments
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00

23 lines
414 B
C++

#ifndef __AP_HAL_LINUX_RCINPUT_RASPILOT_H__
#define __AP_HAL_LINUX_RCINPUT_RASPILOT_H__
#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);
};
#endif // __AP_HAL_LINUX_RCINPUT_RASPILOT_H__