mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-26 09:34:44 +01:00
Fixed #1259
This commit is contained in:
parent
794d6ff5ac
commit
f3c5b2c31f
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user