mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-23 18:52:28 -04:00
MIMO: added support in sampling device control UI
This commit is contained in:
parent
3f4c0a2e70
commit
c85a523217
@ -73,6 +73,12 @@ void SamplingDeviceControl::setSelectedDeviceIndex(int index)
|
|||||||
DeviceEnumerator::instance()->changeTxSelection(m_deviceTabIndex, index);
|
DeviceEnumerator::instance()->changeTxSelection(m_deviceTabIndex, index);
|
||||||
ui->deviceSelectedText->setText(samplingDevice->displayedName);
|
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;
|
m_selectedDeviceIndex = index;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user