summaryrefslogtreecommitdiffstats
path: root/src/OfdmGenerator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-08-07 11:59:08 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-08-07 11:59:08 +0200
commitd2a45bf2b4a35fa0396936d0f5a6f2bb9d385e59 (patch)
tree84490865b7985c703126f40a6aa850f4dd349777 /src/OfdmGenerator.cpp
parentb6e9577aaed919975f32ee1a5a9821668089f2db (diff)
downloaddabmod-d2a45bf2b4a35fa0396936d0f5a6f2bb9d385e59.tar.gz
dabmod-d2a45bf2b4a35fa0396936d0f5a6f2bb9d385e59.tar.bz2
dabmod-d2a45bf2b4a35fa0396936d0f5a6f2bb9d385e59.zip
Fix CFR bug introduced in 1c110d1
Diffstat (limited to 'src/OfdmGenerator.cpp')
-rw-r--r--src/OfdmGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
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<fftwf_complex*>(reference.data()),
+ memcpy(reinterpret_cast<fftwf_complex*>(before_cfr.data()),
myFftOut, mySpacing * sizeof(FFT_TYPE));
}