From d2a45bf2b4a35fa0396936d0f5a6f2bb9d385e59 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 7 Aug 2018 11:59:08 +0200 Subject: Fix CFR bug introduced in 1c110d1 --- src/OfdmGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/OfdmGenerator.cpp') diff --git a/src/OfdmGenerator.cpp b/src/OfdmGenerator.cpp index d9c3608..1331e63 100644 --- a/src/OfdmGenerator.cpp +++ b/src/OfdmGenerator.cpp @@ -232,7 +232,7 @@ int OfdmGenerator::process(Buffer* const dataIn, Buffer* dataOut) if (myCfr) { if (myMERCalcIndex == i) { before_cfr.resize(mySpacing); - memcpy(reinterpret_cast(reference.data()), + memcpy(reinterpret_cast(before_cfr.data()), myFftOut, mySpacing * sizeof(FFT_TYPE)); } -- cgit v1.2.3