mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Merge pull request #1410 from srcejon/fix_1409
#1409 - Detect Packet Demods in MIMO device sets in ARPS Feature
This commit is contained in:
commit
38120a7ce3
@ -459,8 +459,9 @@ void APRS::scanAvailableChannels()
|
||||
for (const auto& deviceSet : deviceSets)
|
||||
{
|
||||
DSPDeviceSourceEngine *deviceSourceEngine = deviceSet->m_deviceSourceEngine;
|
||||
DSPDeviceMIMOEngine *deviceMIMOEngine = deviceSet->m_deviceMIMOEngine;
|
||||
|
||||
if (deviceSourceEngine)
|
||||
if (deviceSourceEngine || deviceMIMOEngine)
|
||||
{
|
||||
for (int chi = 0; chi < deviceSet->getNumberOfChannels(); chi++)
|
||||
{
|
||||
@ -512,8 +513,9 @@ void APRS::handleChannelAdded(int deviceSetIndex, ChannelAPI *channel)
|
||||
deviceSetIndex, channel->getIndexInDeviceSet(), qPrintable(channel->getURI()), channel);
|
||||
DeviceSet *deviceSet = MainCore::instance()->getDeviceSets()[deviceSetIndex];
|
||||
DSPDeviceSourceEngine *deviceSourceEngine = deviceSet->m_deviceSourceEngine;
|
||||
DSPDeviceMIMOEngine *deviceMIMOEngine = deviceSet->m_deviceMIMOEngine;
|
||||
|
||||
if (deviceSourceEngine && APRSSettings::m_pipeURIs.contains(channel->getURI()))
|
||||
if ((deviceSourceEngine || deviceMIMOEngine) && APRSSettings::m_pipeURIs.contains(channel->getURI()))
|
||||
{
|
||||
int chi = channel->getIndexInDeviceSet();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user