Skip to content

Added proper USB connection closing function.#3

Open
MartinRobomaze wants to merge 2 commits intoEmbedME:masterfrom
MartinRobomaze:master
Open

Added proper USB connection closing function.#3
MartinRobomaze wants to merge 2 commits intoEmbedME:masterfrom
MartinRobomaze:master

Conversation

@MartinRobomaze
Copy link
Contributor

Added function to properly close USB connection with libusb.close. Tested with usb2fir board, on a normal computer closing function works without any problem. On Raspberry Pi program sometimes closes the connection, sometimes it fails to close the connection and displays Segmentation fault. When code is run again, it cannot connect to the board.

This is the error:
Segmentation fault.

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.

1 participant