From 1d83a2b247f8e83bbce802a272ffa165bbc6333f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 8 Oct 2024 15:25:45 +0200 Subject: Get fixed_point working with USRP --- src/GuardIntervalInserter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/GuardIntervalInserter.cpp') diff --git a/src/GuardIntervalInserter.cpp b/src/GuardIntervalInserter.cpp index 0b39de8..4e22367 100644 --- a/src/GuardIntervalInserter.cpp +++ b/src/GuardIntervalInserter.cpp @@ -112,8 +112,6 @@ int do_process(const GuardIntervalInserter::Params& p, Buffer* const dataIn, Buf PDEBUG("GuardIntervalInserter do_process(dataIn: %p, dataOut: %p)\n", dataIn, dataOut); - std::lock_guard lock(p.windowMutex); - // Every symbol overlaps over a length of windowOverlap with // the previous symbol, and with the next symbol. First symbol // receives no prefix window, because we don't remember the @@ -141,7 +139,7 @@ int do_process(const GuardIntervalInserter::Params& p, Buffer* const dataIn, Buf // TODO remember the end of the last TF so that we can do some // windowing too. - + std::lock_guard lock(p.windowMutex); if (p.windowOverlap) { if constexpr (std::is_same_v) { { // Handle Null symbol separately because it is longer -- cgit v1.2.3