From 2a75c2776e63897e69cc156333302f42bd591d3e Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Thu, 14 Mar 2019 21:01:19 -0400 Subject: [PATCH] tabs->spaces --- src/sdr/SoapySDRThread.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/sdr/SoapySDRThread.cpp b/src/sdr/SoapySDRThread.cpp index d760c2e..e6a3c3b 100644 --- a/src/sdr/SoapySDRThread.cpp +++ b/src/sdr/SoapySDRThread.cpp @@ -131,9 +131,9 @@ bool SDRThread::init() { hasHardwareDC.store(false); } - if (device->hasGainMode(SOAPY_SDR_RX, 0)) { - device->setGainMode(SOAPY_SDR_RX, 0, agc_mode.load()); - } + if (device->hasGainMode(SOAPY_SDR_RX, 0)) { + device->setGainMode(SOAPY_SDR_RX, 0, agc_mode.load()); + } numChannels.store(getOptimalChannelCount(sampleRate.load())); numElems.store(getOptimalElementCount(sampleRate.load(), TARGET_DISPLAY_FPS)); @@ -486,9 +486,9 @@ void SDRThread::updateSettings() { // } if (agc_mode_changed.load()) { - if (device->hasGainMode(SOAPY_SDR_RX, 0)) { - device->setGainMode(SOAPY_SDR_RX, 0, agc_mode.load()); - } + if (device->hasGainMode(SOAPY_SDR_RX, 0)) { + device->setGainMode(SOAPY_SDR_RX, 0, agc_mode.load()); + } agc_mode_changed.store(false); if (!agc_mode.load()) { updateGains();