1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-10 10:33:29 -05:00

#1409 - Detect Packet Demods in MIMO device sets in ARPS Feature

This commit is contained in:
Jon Beniston 2022-09-15 16:19:35 +01:00
parent bea0583d9e
commit b639540bac

View File

@ -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();