add debug logging to the harogic source enumeration function

better_install
AlexandreRouma 2024-08-22 02:20:51 +02:00
rodzic 46e98b9b03
commit bfdfa2b30b
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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];