mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
MIMO: added support in sampling device control UI
This commit is contained in:
@@ -73,6 +73,12 @@ void SamplingDeviceControl::setSelectedDeviceIndex(int index)
|
||||
DeviceEnumerator::instance()->changeTxSelection(m_deviceTabIndex, index);
|
||||
ui->deviceSelectedText->setText(samplingDevice->displayedName);
|
||||
}
|
||||
else if (m_deviceType == 2) // MIMO
|
||||
{
|
||||
const PluginInterface::SamplingDevice *samplingDevice = DeviceEnumerator::instance()->getMIMOSamplingDevice(index);
|
||||
DeviceEnumerator::instance()->changeMIMOSelection(m_deviceTabIndex, index);
|
||||
ui->deviceSelectedText->setText(samplingDevice->displayedName);
|
||||
}
|
||||
|
||||
m_selectedDeviceIndex = index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user