Skip to content
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

Various fixes #123

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Various fixes #123

wants to merge 5 commits into from

Conversation

bgamari
Copy link
Contributor

@bgamari bgamari commented Apr 29, 2015

These are various fixes I've accumulated. The first SPI fix prevents the compiler from performing potentially dangerous optimizations. The second correctly clears the SR register. The next implements control requests required by Windows 7 (and possibly later, maybe earlier). The last is a style fix.

bgamari and others added 5 commits April 28, 2015 20:13
It's touched from interrupt handler, it seems to me like it should be
volatile
ORing with 0 won't do anything; I can only imagine the original intent
of this code was to OR with ~0.
It seems that Windows really wants these implemented
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