From 3fa190324b9cbefd281d2465848e6c419a08e655 Mon Sep 17 00:00:00 2001 From: GullCode Date: Thu, 21 Apr 2022 23:25:58 +0200 Subject: [PATCH] Fix warning for proc_pocsag --- firmware/baseband/proc_pocsag.hpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/firmware/baseband/proc_pocsag.hpp b/firmware/baseband/proc_pocsag.hpp index f5f7ec14..f848e40e 100644 --- a/firmware/baseband/proc_pocsag.hpp +++ b/firmware/baseband/proc_pocsag.hpp @@ -68,6 +68,16 @@ public: delete[] m_lastVals; } + SmoothVals(const SmoothVals&) + { + + } + + SmoothVals & operator=(const SmoothVals&) + { + return *this ; + } + // -------------------------------------------------- // Set size of smoothing // -------------------------------------------------- @@ -154,7 +164,7 @@ private: dsp::decimate::FIRC16xR16x32Decim8 decim_1 { }; dsp::decimate::FIRAndDecimateComplex channel_filter { }; dsp::demodulate::FM demod { }; - SmoothVals smooth; + SmoothVals smooth = { }; AudioOutput audio_output { };