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.
22 lines
429 B
22 lines
429 B
|
|
#ifndef __AP_HAL_LINUX_RCINPUT_RASPILOT_H__ |
|
#define __AP_HAL_LINUX_RCINPUT_RASPILOT_H__ |
|
|
|
#include "AP_HAL_Linux.h" |
|
#include "RCInput.h" |
|
|
|
class Linux::LinuxRCInput_Raspilot : public Linux::LinuxRCInput |
|
{ |
|
public: |
|
void init(void*); |
|
|
|
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__
|
|
|