ardupilot/libraries/AP_HAL_AVR/SPIDriver.h

18 lines
348 B
C
Raw Normal View History

#ifndef __AP_HAL_ARDUINO_SPI_DRIVER_H__
#define __AP_HAL_ARDUINO_SPI_DRIVER_H__
#include <AP_HAL.h>
2012-08-22 21:31:52 -03:00
#include "AP_HAL_AVR_Namespace.h"
class AP_HAL_AVR::ArduinoSPIDriver : public AP_HAL::SPIDriver {
public:
ArduinoSPIDriver() : _init(0) {}
void init() { _init = 1; }
private:
int _init;
};
#endif // __AP_HAL_ARDUINO_SPI_DRIVER_H__