From ee6b25ac53c644c8e4fc5472f001e81ef41aec47 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Wed, 3 May 2023 16:45:16 +0200 Subject: [PATCH] AcquisitionDevice: Fix some unnecessary debug printing --- receiver/host/AcquisitionDevice.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/receiver/host/AcquisitionDevice.cpp b/receiver/host/AcquisitionDevice.cpp index 960aabfc..6768bc14 100644 --- a/receiver/host/AcquisitionDevice.cpp +++ b/receiver/host/AcquisitionDevice.cpp @@ -175,7 +175,7 @@ void AcquisitionDevice::WaitForActionComplete() { } if (logger != nullptr) - logger->Info("Data stream " + std::to_string(data_stream) + logger->Debug("Data stream " + std::to_string(data_stream) + " completion frame number " + std::to_string(c.frame_number) + " module " + std::to_string(c.module) + " handle " + std::to_string(c.handle) @@ -188,14 +188,8 @@ void AcquisitionDevice::WaitForActionComplete() { counters.SetAcquisitionFinished(); end_time = std::chrono::system_clock::now(); - if (logger) - logger->Info("End 1"); - HW_SetCancelDataCollectionBit(); - if (logger) - logger->Info("End 2"); + HW_SetCancelDataCollectionBit(); HW_EndAction(); - if (logger) - logger->Info("End 3"); while (!HW_IsIdle()) std::this_thread::sleep_for(std::chrono::milliseconds(1)); }