aboutsummaryrefslogtreecommitdiffstats
path: root/src/OfdmGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/OfdmGenerator.h')
-rw-r--r--src/OfdmGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OfdmGenerator.h b/src/OfdmGenerator.h
index 8374cf9..cccccf5 100644
--- a/src/OfdmGenerator.h
+++ b/src/OfdmGenerator.h
@@ -37,6 +37,7 @@
#include <cstddef>
#include <vector>
#include <complex>
+#include <atomic>
typedef std::complex<float> complexf;
@@ -105,6 +106,7 @@ class OfdmGenerator : public ModCodec, public RemoteControllable
// Measure PAPR before and after CFR
PAPRStats myPaprBeforeCFR;
PAPRStats myPaprAfterCFR;
+ std::atomic<bool> myPaprClearRequest;
size_t myMERCalcIndex = 0;
std::deque<double> myMERs;