mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 17:28:50 -05:00
Added more debug messages in device enumeration
This commit is contained in:
parent
2961fbccb3
commit
7559330482
@ -58,7 +58,7 @@ void Blderf1InputPlugin::initPlugin(PluginAPI* pluginAPI)
|
||||
PluginInterface::SamplingDevices Blderf1InputPlugin::enumSampleSources()
|
||||
{
|
||||
SamplingDevices result;
|
||||
struct bladerf_devinfo *devinfo = 0;
|
||||
struct bladerf_devinfo *devinfo = nullptr;
|
||||
|
||||
int count = bladerf_get_device_list(&devinfo);
|
||||
|
||||
|
@ -40,6 +40,7 @@ void DeviceEnumerator::enumerateRxDevices(PluginManager *pluginManager)
|
||||
|
||||
for (int i = 0; i < rxDeviceRegistrations.count(); i++)
|
||||
{
|
||||
qDebug("DeviceEnumerator::enumerateRxDevices: %s", qPrintable(rxDeviceRegistrations[i].m_deviceId));
|
||||
PluginInterface::SamplingDevices samplingDevices = rxDeviceRegistrations[i].m_plugin->enumSampleSources();
|
||||
|
||||
for (int j = 0; j < samplingDevices.count(); j++)
|
||||
@ -64,6 +65,7 @@ void DeviceEnumerator::enumerateTxDevices(PluginManager *pluginManager)
|
||||
|
||||
for (int i = 0; i < txDeviceRegistrations.count(); i++)
|
||||
{
|
||||
qDebug("DeviceEnumerator::enumerateTxDevices: %s", qPrintable(txDeviceRegistrations[i].m_deviceId));
|
||||
PluginInterface::SamplingDevices samplingDevices = txDeviceRegistrations[i].m_plugin->enumSampleSinks();
|
||||
|
||||
for (int j = 0; j < samplingDevices.count(); j++)
|
||||
@ -88,6 +90,7 @@ void DeviceEnumerator::enumerateMIMODevices(PluginManager *pluginManager)
|
||||
|
||||
for (int i = 0; i < mimoDeviceRegistrations.count(); i++)
|
||||
{
|
||||
qDebug("DeviceEnumerator::enumerateMIMODevices: %s", qPrintable(mimoDeviceRegistrations[i].m_deviceId));
|
||||
PluginInterface::SamplingDevices samplingDevices = mimoDeviceRegistrations[i].m_plugin->enumSampleMIMO();
|
||||
|
||||
for (int j = 0; j < samplingDevices.count(); j++)
|
||||
|
Loading…
Reference in New Issue
Block a user