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.
|
#pragma once |
|
|
|
#include "AP_HAL_Linux.h" |
|
#include "RCInput.h" |
|
#include <AP_HAL/SPIDevice.h> |
|
|
|
|
|
namespace Linux { |
|
|
|
class RCInput_Raspilot : public RCInput |
|
{ |
|
public: |
|
void init(); |
|
|
|
private: |
|
uint32_t _last_timer; |
|
|
|
AP_HAL::OwnPtr<AP_HAL::SPIDevice> _dev; |
|
|
|
void _poll_data(void); |
|
}; |
|
|
|
}
|
|
|