ardupilot/libraries/AP_HAL_Linux/RCInput_Raspilot.h
Lucas De Marchi 5472bc4de1 Global: change Device::PeriodicCb signature
Remove bool return as it's never being used and not supported on PX4.
2017-01-14 10:03:54 +11:00

22 lines
267 B
C++

#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:
AP_HAL::OwnPtr<AP_HAL::SPIDevice> _dev;
void _poll_data(void);
};
}