1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-04-05 19:18:38 -04:00

MIMO: added support in sampling device control UI

This commit is contained in:
f4exb 2019-05-22 02:56:42 +02:00
parent 3f4c0a2e70
commit c85a523217

View File

@ -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;
}