mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-12 10:53:59 -04:00
AP_HAL_Empty: add get_device_ptr to HAL I2CDevice API
This commit is contained in:
parent
97e87dfcdb
commit
45db7d2231
@ -83,10 +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::I2CDevice *get_device_ptr(uint8_t bus, uint8_t address,
|
||||||
uint32_t bus_clock=400000,
|
uint32_t bus_clock=400000,
|
||||||
bool use_smbus = false,
|
bool use_smbus = false,
|
||||||
uint32_t timeout_ms=4) override
|
uint32_t timeout_ms=4) override
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user