DAP.yy: use cmdlineDASpecs; DevMgr: add attachAllUnattachedDevicesFromCmdlineReq
This method wraps around attachAllUnattachedDevicesFromReq and supplies it with a sh_ptr<> collection of all DASpecs parsed by the DAP parser from the cmdline. The initialization sequence now correctly initializes all DAP specs given on the cmdline again.
This commit is contained in:
@@ -78,8 +78,8 @@ public:
|
||||
std::cout << __func__ << ": About to attachAllSenseDevicesFromSpecs"
|
||||
<< '\n';
|
||||
}
|
||||
device::DeviceManager::getInstance().attachAllUnattachedDevicesFromReq(
|
||||
std::make_shared<std::vector<device::DeviceAttachmentSpec>>(),
|
||||
device::DeviceManager::getInstance()
|
||||
.attachAllUnattachedDevicesFromCmdlineReq(
|
||||
{context, std::bind(
|
||||
&InitializeReq::initializeReq2,
|
||||
context.get(), context,
|
||||
|
||||
Reference in New Issue
Block a user