mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-24 16:01:53 +08:00
fix(work_queue): Extend I2C/SPI instances to support i.MX95
Co-authored-by: Andre Heinemans <andre.heinemans@nxp.com>
This commit is contained in:
1 parent
6f536efad6
commit
224e046072
3 files changed
+40
No files matched your search
@@ -154,6 +154,10 @@ device_bus_to_wq(uint32_t device_id_int)
|
||||
case 3: return wq_configurations::I2C3;
|
||||
|
||||
case 4: return wq_configurations::I2C4;
|
||||
|
||||
case 5: return wq_configurations::I2C5;
|
||||
|
||||
case 6: return wq_configurations::I2C6;
|
||||
}
|
||||
|
||||
} else if (bus_type == device::Device::DeviceBusType_SPI) {
|
||||
@@ -171,6 +175,10 @@ device_bus_to_wq(uint32_t device_id_int)
|
||||
case 5: return wq_configurations::SPI5;
|
||||
|
||||
case 6: return wq_configurations::SPI6;
|
||||
|
||||
case 7: return wq_configurations::SPI7;
|
||||
|
||||
case 8: return wq_configurations::SPI8;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user