17 lines
290 B
C++
17 lines
290 B
C++
|
|
#ifndef __AP_HAL_AVR_I2C_DRIVER_H__
|
|
#define __AP_HAL_AVR_I2C_DRIVER_H__
|
|
|
|
#include <AP_HAL.h>
|
|
|
|
class AP_HAL::AVRI2CDriver : public AP_HAL::I2CDriver {
|
|
public:
|
|
AVRI2CDriver(): _init(0) {}
|
|
void init() { _init = 1; }
|
|
private:
|
|
int _init;
|
|
};
|
|
|
|
#endif // __AP_HAL_AVR_I2C_DRIVER_H__
|
|
|