mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
PlutoSDR: clear the device scan list before (re)scanning
This commit is contained in:
parent
dc0d9d9e0a
commit
e4c1892930
@ -44,6 +44,8 @@ void DevicePlutoSDRScan::scan()
|
||||
return;
|
||||
}
|
||||
|
||||
m_scans.clear();
|
||||
|
||||
for (i = 0; i < num_contexts; i++)
|
||||
{
|
||||
const char *description = iio_context_info_get_description(info[i]);
|
||||
|
@ -35,7 +35,7 @@ const PluginDescriptor PlutoSDROutputPlugin::m_pluginDescriptor = {
|
||||
QString("https://github.com/f4exb/sdrangel")
|
||||
};
|
||||
|
||||
const QString PlutoSDROutputPlugin::m_hardwareID = "PlutosDR";
|
||||
const QString PlutoSDROutputPlugin::m_hardwareID = "PlutoSDR";
|
||||
const QString PlutoSDROutputPlugin::m_deviceTypeID = PLUTOSDR_DEVICE_TYPE_ID;
|
||||
|
||||
PlutoSDROutputPlugin::PlutoSDROutputPlugin(QObject* parent) :
|
||||
|
@ -35,7 +35,7 @@ const PluginDescriptor PlutoSDRInputPlugin::m_pluginDescriptor = {
|
||||
QString("https://github.com/f4exb/sdrangel")
|
||||
};
|
||||
|
||||
const QString PlutoSDRInputPlugin::m_hardwareID = "PlutosDR";
|
||||
const QString PlutoSDRInputPlugin::m_hardwareID = "PlutoSDR";
|
||||
const QString PlutoSDRInputPlugin::m_deviceTypeID = PLUTOSDR_DEVICE_TYPE_ID;
|
||||
|
||||
PlutoSDRInputPlugin::PlutoSDRInputPlugin(QObject* parent) :
|
||||
|
Loading…
Reference in New Issue
Block a user