mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-12 19:27:11 +01:00
Fixed missing label bug of soapysdr
This commit is contained in:
parent
eff7bbdd5a
commit
14a8e81662
@ -55,9 +55,11 @@ public:
|
||||
void refresh() {
|
||||
devList = SoapySDR::Device::enumerate();
|
||||
txtDevList = "";
|
||||
int i = 0;
|
||||
for (auto& dev : devList) {
|
||||
txtDevList += dev["label"];
|
||||
txtDevList += dev["label"] != "" ? dev["label"] : dev["driver"];
|
||||
txtDevList += '\0';
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user