From 3835d5cef4c287084fa0268a13a97518de21fccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Fri, 29 Jan 2016 07:49:49 +1100 Subject: [PATCH] Fix demodulator uninitialized read --- src/demod/DemodulatorPreThread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/demod/DemodulatorPreThread.cpp b/src/demod/DemodulatorPreThread.cpp index 8175ea9..4cee21f 100644 --- a/src/demod/DemodulatorPreThread.cpp +++ b/src/demod/DemodulatorPreThread.cpp @@ -34,6 +34,7 @@ DemodulatorPreThread::DemodulatorPreThread(DemodulatorInstance *parent) : IOThre bandwidthChanged.store(false); audioSampleRateChanged.store(false); modemSettingsChanged.store(false); + demodTypeChanged.store(false); } bool DemodulatorPreThread::isInitialized() {