Browse Source

HAL_Empty: fixed I2C get_device() interface

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
5e19183e90
  1. 5
      libraries/AP_HAL_Empty/I2CDevice.h

5
libraries/AP_HAL_Empty/I2CDevice.h

@ -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;
} }

Loading…
Cancel
Save