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

pwmOnAnyPin: Incorrect register bit access #36

Open
athulsnair opened this issue Nov 23, 2018 · 0 comments
Open

pwmOnAnyPin: Incorrect register bit access #36

athulsnair opened this issue Nov 23, 2018 · 0 comments

Comments

@athulsnair
Copy link

athulsnair commented Nov 23, 2018

I'm just writing this for clarity, In pwmOnAnyPin.c, In the initTimer0(void) function, there's this line

TIMSK0 |= ((1 << OCIE0A) | (1 << OCIE1B));

I think it is OCIE0B not OCIE1B
I don't think it affect the exicution of code, both means (1 << 2)

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

No branches or pull requests

1 participant