ardupilot/libraries/AP_HAL_Linux/RCInput_Raspilot.h
Lucas De Marchi f36e8d9c05 AP_HAL_Linux: remove AP_HAL_Linux_Namespace header
This centralized namespace header encourages centralizing things on
umbrella headers that are a pain to maintain. Force each part of
AP_HAL_Linux to include what is used.

While at it, do some whitespace cleanups and minor changes to adhere to
coding style.
2016-07-29 20:25:03 -03:00

24 lines
294 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:
uint32_t _last_timer;
AP_HAL::OwnPtr<AP_HAL::SPIDevice> _dev;
void _poll_data(void);
};
}