1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

BladeRF2: fixed MO mode by multiplying sample rate by the number of Tx channels

This commit is contained in:
f4exb
2018-09-30 23:42:52 +02:00
parent d770da9590
commit 2323d21a43
4 changed files with 65 additions and 17 deletions
@@ -75,7 +75,7 @@ void BladeRF2OutputThread::run()
int status;
if (m_nbChannels > 1) {
status = bladerf_sync_config(m_dev, BLADERF_TX_X2, BLADERF_FORMAT_SC16_Q11, 64, 16384, 32, 1500);
status = bladerf_sync_config(m_dev, BLADERF_TX_X2, BLADERF_FORMAT_SC16_Q11, 128, 16384, 32, 1500);
} else {
status = bladerf_sync_config(m_dev, BLADERF_TX_X1, BLADERF_FORMAT_SC16_Q11, 64, 8192, 32, 1500);
}