Skip to content

Add method to get the error code from the USB object. #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add method to get the error code from the USB object. #27

wants to merge 1 commit into from

Conversation

estranged42
Copy link

I needed to get the error code out of the USB object while debugging a project. There didn't seem to be a way to do that, so I added a really simple method to return it.

@dhalbert
Copy link

dhalbert commented Oct 3, 2018

Do you want to try to submit this upstream to https://github.com/arduino/ArduinoCore-samd ?

@estranged42
Copy link
Author

That probably makes more sense. :) It looks like I can't fork their repo while I have a fork of this one, so I think I'll have to delete my fork first which will probably break this PR, which is probably fine. Thanks for the suggestion!

@dhalbert
Copy link

dhalbert commented Oct 4, 2018

Your fork is a fork of both our repo and theirs. You can check out one of their branches instead of ours. It's a bit painful to figure out (I had to do this too), but it's possible to remain with your current fork. But if that's too crazy-making, no problem, we can close this PR.

@estranged42
Copy link
Author

Ah I should have guessed there was some way to do it. I've swapped out my fork and added the PR on the upstream repo: arduino#362

Thanks so much!

@estranged42 estranged42 closed this Oct 4, 2018
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.

3 participants