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

bug in atmega128 Timer0 #153

Open
ggajoch opened this issue Oct 12, 2017 · 1 comment · May be fixed by #154
Open

bug in atmega128 Timer0 #153

ggajoch opened this issue Oct 12, 2017 · 1 comment · May be fixed by #154
Labels

Comments

@ggajoch
Copy link
Member

ggajoch commented Oct 12, 2017

Function setting register is incorrect, bit WGM01 is shifted by 1 to right:

                (static_cast<uint8_t>(mode) & 0b10 << WGM01) |
                static_cast<uint8_t>(prescaler);```
@begreeen
Copy link
Contributor

begreeen commented Sep 1, 2018

how about it? is that fixed @ggajoch ?

@begreeen begreeen added the bug label Sep 1, 2018
@ggajoch ggajoch linked a pull request Sep 28, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants