You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
328 B
17 lines
328 B
|
|
#ifndef __AP_HAL_AVR_I2C_DRIVER_H__ |
|
#define __AP_HAL_AVR_I2C_DRIVER_H__ |
|
|
|
#include <AP_HAL.h> |
|
#include "AP_HAL_AVR_Namespace.h" |
|
|
|
class AP_HAL_AVR::AVRI2CDriver : public AP_HAL::I2CDriver { |
|
public: |
|
AVRI2CDriver(): _init(0) {} |
|
void init() { _init = 1; } |
|
private: |
|
int _init; |
|
}; |
|
|
|
#endif // __AP_HAL_AVR_I2C_DRIVER_H__ |
|
|
|
|