livoxGen1: Add correctness checks to attachDeviceReq

This commit is contained in:
2025-11-15 19:41:31 -04:00
parent 340604c4ea
commit 2d1c026cc2
2 changed files with 51 additions and 14 deletions
@@ -68,6 +68,9 @@ collationBuffer(
void PcloudStimulusProducer::start()
{
std::cout << __func__ << ": Starting PcloudStimulusProducer for device "
<< device->discoveredDevice.deviceIdentifier << std::endl;
// Call ioUringAssemblyEngine setup() as the first step
if (!ioUringAssemblyEngine.setup())
{
@@ -89,6 +92,9 @@ void PcloudStimulusProducer::start()
void PcloudStimulusProducer::stop()
{
std::cout << __func__ << ": Stopping PcloudStimulusProducer for device "
<< device->discoveredDevice.deviceIdentifier << std::endl;
// Call base class stop() as the first step
StimulusProducer::stop();
// Call ioUringAssemblyEngine stop() as the final step