diff --git a/stimBuffApis/livoxGen1/livoxGen1.cpp b/stimBuffApis/livoxGen1/livoxGen1.cpp index 6034584..dea1784 100644 --- a/stimBuffApis/livoxGen1/livoxGen1.cpp +++ b/stimBuffApis/livoxGen1/livoxGen1.cpp @@ -213,9 +213,9 @@ public: void delayedGetReturnMode( std::shared_ptr context) { - // Initialize timer with device's component thread + // Initialize timer with LivoxGen1 metadata io_service delayTimer = std::make_unique( - context->deviceTmp->componentThread->getIoService()); + smoThreadingModelDesc.componentThread->getIoService()); delayTimer->expires_from_now(boost::posix_time::milliseconds(5)); delayTimer->async_wait(