From d5a33b7448127cb41c0c6853ab6a0f10a5c2b706 Mon Sep 17 00:00:00 2001 From: f4exb Date: Thu, 27 Sep 2018 06:05:41 +0200 Subject: [PATCH] BladeRF2 input: fixed channel 1 running on its own --- plugins/samplesource/bladerf2input/bladerf2inputthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/samplesource/bladerf2input/bladerf2inputthread.cpp b/plugins/samplesource/bladerf2input/bladerf2inputthread.cpp index f6775cec4..25adc2e78 100644 --- a/plugins/samplesource/bladerf2input/bladerf2inputthread.cpp +++ b/plugins/samplesource/bladerf2input/bladerf2inputthread.cpp @@ -96,7 +96,7 @@ void BladeRF2InputThread::run() break; } - if (nbFifos > 1) { + if (m_nbChannels > 1) { callbackMI(m_buf, DeviceBladeRF2::blockSize); } else { callbackSI(m_buf, 2*DeviceBladeRF2::blockSize);