mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-09 09:25:07 -04:00
Corrected device display name channel handling
This commit is contained in:
@@ -80,7 +80,7 @@ void DeviceBladeRF2::enumOriginDevices(const QString& hardwareId, PluginInterfac
|
||||
unsigned int nbRxChannels = bladerf_get_channel_count(dev, BLADERF_RX);
|
||||
unsigned int nbTxChannels = bladerf_get_channel_count(dev, BLADERF_TX);
|
||||
// make the stream index a placeholder for future arg() hence the arg("%1")
|
||||
QString displayableName(QString("BladeRF2[%1:%2] %3").arg(devinfo[i].instance).arg("%1").arg(devinfo[i].serial));
|
||||
QString displayableName(QString("BladeRF2[%1:$1] %2").arg(devinfo[i].instance).arg(devinfo[i].serial));
|
||||
|
||||
originDevices.append(PluginInterface::OriginDevice(
|
||||
displayableName,
|
||||
|
||||
Reference in New Issue
Block a user