mirror of https://github.com/ArduPilot/ardupilot
HAL_Empty: fixed I2C get_device() interface
This commit is contained in:
parent
36227aa126
commit
5e19183e90
|
@ -83,7 +83,10 @@ public:
|
|||
I2CDeviceManager() { }
|
||||
|
||||
/* AP_HAL::I2CDeviceManager implementation */
|
||||
AP_HAL::OwnPtr<AP_HAL::I2CDevice> get_device(uint8_t bus, uint8_t address)
|
||||
AP_HAL::OwnPtr<AP_HAL::I2CDevice> get_device(uint8_t bus, uint8_t address,
|
||||
uint32_t bus_clock=400000,
|
||||
bool use_smbus = false,
|
||||
uint32_t timeout_ms=4) override
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue