HAL_Empty: fixed I2C get_device() interface

This commit is contained in:
Andrew Tridgell 2018-01-10 15:26:27 +11:00
parent 36227aa126
commit 5e19183e90
1 changed files with 4 additions and 1 deletions

View File

@ -83,7 +83,10 @@ public:
I2CDeviceManager() { } I2CDeviceManager() { }
/* AP_HAL::I2CDeviceManager implementation */ /* 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; return nullptr;
} }