pull/1267/head
AlexandreRouma 2023-12-26 23:10:44 +01:00
rodzic 794d6ff5ac
commit f3c5b2c31f
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -137,6 +137,10 @@ public:
hackrf_device_list_t* _devList = hackrf_device_list();
for (int i = 0; i < _devList->devicecount; i++) {
// Skip devices that are in use
if (_devList->serial_numbers[i] == NULL) { continue; }
// Save the device serial number
devList.push_back(_devList->serial_numbers[i]);
devListTxt += (char*)(_devList->serial_numbers[i] + 16);
devListTxt += '\0';