mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +01:00
add debug logging to the harogic source enumeration function
This commit is contained in:
parent
46e98b9b03
commit
bfdfa2b30b
@ -77,7 +77,10 @@ private:
|
|||||||
for (int i = 0; i < 128; i++) {
|
for (int i = 0; i < 128; i++) {
|
||||||
// Attempt to open the device with the given ID
|
// Attempt to open the device with the given ID
|
||||||
int ret = Device_Open(&dev, i, &profile, &binfo);
|
int ret = Device_Open(&dev, i, &profile, &binfo);
|
||||||
if (ret < 0) { break; }
|
if (ret < 0) {
|
||||||
|
flog::debug("Done searching: {}", ret);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// Create serial string
|
// Create serial string
|
||||||
char serial[1024];
|
char serial[1024];
|
||||||
|
Loading…
Reference in New Issue
Block a user