Skip to content

airspy_open_device() bugfix: use the code in airspy_list_device()#63

Merged
bvernoux merged 2 commits intoairspy:masterfrom
jj1bdx:jj1bdx-fix-airspy_open_sn
Jun 16, 2019
Merged

airspy_open_device() bugfix: use the code in airspy_list_device()#63
bvernoux merged 2 commits intoairspy:masterfrom
jj1bdx:jj1bdx-fix-airspy_open_sn

Conversation

@jj1bdx
Copy link
Copy Markdown
Contributor

@jj1bdx jj1bdx commented Jun 15, 2019

This PR fixes the generation of SIGABRT in macOS 10.14.5 when trying to execute airspy_open_device() with a non-zero serial number, by using the code in airspy_list_devices() to compare the serial number.
This fix allows the proper execution of airspy_open_sn() as well.

@jj1bdx
Copy link
Copy Markdown
Contributor Author

jj1bdx commented Jun 15, 2019

This code also works OK on Ubuntu 18.04 LTS.

@bvernoux bvernoux merged commit 61fec20 into airspy:master Jun 16, 2019
@bvernoux
Copy link
Copy Markdown
Contributor

Thanks for the contribution (I have checked the code and tested it with success)

@jj1bdx
Copy link
Copy Markdown
Contributor Author

jj1bdx commented Jun 17, 2019

@bvernoux Many thanks for merging the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants