Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbladeRF: [WIP] Removed unnecessary mutex acquisition in CyAPI probe()
Using open_device() is overkill, as we just want to open a device handle to read member variables for VID, PID, and serial #; we're not writing to the device. *NOTE:* The CyAPI docs say that this will Close() the device first if needed. This may be a bogus "fix" for #364, if the already opened device handle is beings used when the probe() is called.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters