From 669288385e75745a396062d98f306050ab4976f8 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Thu, 1 Apr 2021 17:42:04 +0200 Subject: [PATCH] Fixed other issues --- core/src/dsp/demodulator.h | 2 +- core/src/gui/widgets/constellation_diagram.cpp | 1 - core/src/gui/widgets/symbol_diagram.cpp | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/dsp/demodulator.h b/core/src/dsp/demodulator.h index b610337d..95e2d48d 100644 --- a/core/src/dsp/demodulator.h +++ b/core/src/dsp/demodulator.h @@ -568,7 +568,7 @@ namespace dsp { public: PSKDemod() {} PSKDemod(stream* input, float sampleRate, float baudRate, int RRCTapCount = 32, float RRCAlpha = 0.32f, float agcRate = 10e-4, float costasLoopBw = 0.004f, float omegaGain = (0.01*0.01) / 4, float muGain = 0.01f, float omegaRelLimit = 0.005f) { - init(input, sampleRate, deviation, baudRate, RRCTapCount, RRCAlpha, costasLoopBw, omegaGain, muGain, omegaRelLimit); + init(input, sampleRate, baudRate, RRCTapCount, RRCAlpha, agcRate, costasLoopBw, omegaGain, muGain, omegaRelLimit); } void init(stream* input, float sampleRate, float baudRate, int RRCTapCount = 32, float RRCAlpha = 0.32f, float agcRate = 10e-4, float costasLoopBw = 0.004f, float omegaGain = (0.01*0.01) / 4, float muGain = 0.01f, float omegaRelLimit = 0.005f) { diff --git a/core/src/gui/widgets/constellation_diagram.cpp b/core/src/gui/widgets/constellation_diagram.cpp index d078d79e..25b102d3 100644 --- a/core/src/gui/widgets/constellation_diagram.cpp +++ b/core/src/gui/widgets/constellation_diagram.cpp @@ -1,4 +1,3 @@ -#pragma once #include namespace ImGui { diff --git a/core/src/gui/widgets/symbol_diagram.cpp b/core/src/gui/widgets/symbol_diagram.cpp index 4898a4fd..9b5cbdab 100644 --- a/core/src/gui/widgets/symbol_diagram.cpp +++ b/core/src/gui/widgets/symbol_diagram.cpp @@ -1,4 +1,3 @@ -#pragma once #include namespace ImGui {