From 2632917c63f1bc30b8e6dc6cbfc0208d5966a655 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Sat, 15 Nov 2025 15:59:34 -0400 Subject: [PATCH] livoxGen1: Execute delays on lib's assigned CompThread --- stimBuffApis/livoxGen1/livoxGen1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(