mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 03:23:35 +08:00
I2C/SPI require device type in constructor
This commit is contained in:
@@ -180,7 +180,7 @@ private:
|
||||
};
|
||||
|
||||
BST::BST(I2CSPIBusOption bus_option, const int bus, int address, int bus_frequency) :
|
||||
I2C("bst", nullptr, bus, address, bus_frequency),
|
||||
I2C(DRV_TEL_DEVTYPE_BST, MODULE_NAME, bus, address, bus_frequency),
|
||||
I2CSPIDriver(MODULE_NAME, px4::device_bus_to_wq(get_device_id()), bus_option, bus, address)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user