1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-30 14:04:18 -04:00

PlutoSDR: clear the device scan list before (re)scanning

This commit is contained in:
f4exb
2017-09-19 23:11:03 +02:00
parent dc0d9d9e0a
commit e4c1892930
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -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) :