mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
19 lines
297 B
C++
19 lines
297 B
C++
#pragma once
|
|
|
|
#include "AP_HAL_Linux.h"
|
|
#include "RCInput.h"
|
|
#include <AP_HAL/SPIDevice.h>
|
|
|
|
class Linux::RCInput_Raspilot : public Linux::RCInput
|
|
{
|
|
public:
|
|
void init();
|
|
|
|
private:
|
|
uint32_t _last_timer;
|
|
|
|
AP_HAL::OwnPtr<AP_HAL::SPIDevice> _dev;
|
|
|
|
void _poll_data(void);
|
|
};
|