From e2e261f1c05d4c704c66079da2ffb81dcb829857 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Sat, 3 Jan 2015 19:03:16 -0500 Subject: [PATCH] OSX fix --- src/demod/DemodulatorThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demod/DemodulatorThread.cpp b/src/demod/DemodulatorThread.cpp index a2d524f..e3e163f 100644 --- a/src/demod/DemodulatorThread.cpp +++ b/src/demod/DemodulatorThread.cpp @@ -163,7 +163,7 @@ void DemodulatorThread::threadMain() { freqdem_demodulate_block(demodFM, &agcData[0], numWritten, &demodOutputData[0]); } else { float p; - switch (demodulatorType) { + switch (demodulatorType.load()) { case DEMOD_TYPE_LSB: for (int i = 0; i < numWritten; i++) { // Reject upper band nco_crcf_mix_up(ssbShifterUp, resampledData[i], &x);