add debug logging to the harogic source enumeration function

This commit is contained in:
AlexandreRouma 2024-08-22 02:20:51 +02:00
parent 46e98b9b03
commit bfdfa2b30b

View File

@ -77,7 +77,10 @@ private:
for (int i = 0; i < 128; i++) {
// Attempt to open the device with the given ID
int ret = Device_Open(&dev, i, &profile, &binfo);
if (ret < 0) { break; }
if (ret < 0) {
flog::debug("Done searching: {}", ret);
break;
}
// Create serial string
char serial[1024];