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
256 B
17 lines
256 B
5 years ago
|
#pragma once
|
||
|
|
||
|
#include "SIM_I2C.h"
|
||
|
|
||
|
#include <SITL/SIM_Aircraft.h>
|
||
|
|
||
|
namespace SITL {
|
||
|
|
||
|
class I2CDevice {
|
||
|
public:
|
||
|
virtual void update(const class Aircraft &aircraft) { }
|
||
|
|
||
|
virtual int rdwr(I2C::i2c_rdwr_ioctl_data *&data) = 0;
|
||
|
};
|
||
|
|
||
|
} // namespace SITL
|