mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 23:03:35 +08:00
[DO NOT MERGE] px4_i2c_device_external hacks
This commit is contained in:
@@ -250,7 +250,7 @@ bool DeviceExternal(uint32_t device_id)
|
||||
switch (bus_type) {
|
||||
case device::Device::DeviceBusType_I2C:
|
||||
#if defined(CONFIG_I2C)
|
||||
external = px4_i2c_bus_external(id.devid_s.bus);
|
||||
external = px4_i2c_device_external(device_id);
|
||||
#endif // CONFIG_I2C
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user