mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
BladeRF output: fix open channel indicators array initialization so that SO Tx starts correctly
This commit is contained in:
parent
2df27958b3
commit
b0d17193d6
@ -16,6 +16,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@ -75,6 +76,8 @@ bool DeviceBladeRF2::open(const char *serial)
|
||||
|
||||
m_rxOpen = new bool[m_nbRxChannels];
|
||||
m_txOpen = new bool[m_nbTxChannels];
|
||||
std::fill(m_rxOpen, m_rxOpen + m_nbRxChannels, false);
|
||||
std::fill(m_txOpen, m_txOpen + m_nbTxChannels, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user