From 5a6d97e4805c709242fcebbe0d5a703583b80658 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Thu, 2 Jun 2016 22:28:17 -0400 Subject: [PATCH] Bingo.. DemodulatorInstance deltaLock atomic_bool was uninitialized.. :) --- src/demod/DemodulatorInstance.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/demod/DemodulatorInstance.cpp b/src/demod/DemodulatorInstance.cpp index 49bc552..3519660 100644 --- a/src/demod/DemodulatorInstance.cpp +++ b/src/demod/DemodulatorInstance.cpp @@ -11,17 +11,19 @@ DemodulatorInstance::DemodulatorInstance() : #if ENABLE_DIGITAL_LAB activeOutput = nullptr; #endif - terminated.store(true); - audioTerminated.store(true); + terminated.store(true); demodTerminated.store(true); + audioTerminated.store(true); preDemodTerminated.store(true); active.store(false); squelch.store(false); muted.store(false); - tracking.store(false); - follow.store(false); + deltaLock.store(false); + deltaLockOfs.store(0); currentOutputDevice.store(-1); currentAudioGain.store(1.0); + follow.store(false); + tracking.store(false); label = new std::string("Unnamed"); pipeIQInputData = new DemodulatorThreadInputQueue;