mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
REST API: updates for MIMO (4)
This commit is contained in:
@@ -170,6 +170,7 @@ void DeviceAPI::removeChannelSourceAPI(ChannelAPI* channelAPI)
|
||||
void DeviceAPI::addMIMOChannelAPI(ChannelAPI* channelAPI)
|
||||
{
|
||||
m_mimoChannelAPIs.append(channelAPI);
|
||||
renumerateChannels();
|
||||
}
|
||||
|
||||
void DeviceAPI::removeMIMOChannelAPI(ChannelAPI *channelAPI)
|
||||
@@ -177,6 +178,8 @@ void DeviceAPI::removeMIMOChannelAPI(ChannelAPI *channelAPI)
|
||||
if (m_mimoChannelAPIs.removeOne(channelAPI)) {
|
||||
renumerateChannels();
|
||||
}
|
||||
|
||||
channelAPI->setIndexInDeviceSet(-1);
|
||||
}
|
||||
|
||||
void DeviceAPI::setSampleSource(DeviceSampleSource* source)
|
||||
|
||||
Reference in New Issue
Block a user