Skip to content

Commit 6699d60

Browse files
authored
Remove device cache from find_PlutoSDR (#76)
1 parent 0646ea3 commit 6699d60

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

PlutoSDR_Registration.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
#include <libusb.h>
88
#endif
99

10-
static std::vector<SoapySDR::Kwargs> results;
1110
static std::vector<SoapySDR::Kwargs> find_PlutoSDR(const SoapySDR::Kwargs &args) {
12-
13-
if (!results.empty())
14-
return results;
11+
12+
std::vector<SoapySDR::Kwargs> results;
1513

1614
ssize_t ret = 0;
1715
iio_context *ctx = nullptr;

0 commit comments

Comments
 (0)