-
Notifications
You must be signed in to change notification settings - Fork 36
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
Removed t3_int isr #147
Removed t3_int isr #147
Conversation
@@ -691,8 +683,6 @@ comp_read_wrong_startup_jump: | |||
sjmp comp_check_timeout ; Continue to look for good ones | |||
|
|||
comp_read_wrong_extend_timeout: | |||
clr Flag_Demag_Detected ; Clear demag detected flag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it no longer necessary to clear the demag detection flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good to me!
Let's merge the other PR first and I'll merge this one into the v0.21 branch afterwards.
In the previous t3 isr version when t3 expires it reloads the timer after a small delay. In this version we have to load the reload times directly into timer3 and also update the reload time to have a functionality as close as possible to previous version's one.
…ons problems because not processing interrups on time
9d82c15
to
debeb7b
Compare
Removed t3 interrupt service routine to avoid wasting necessary CPU cycles
To be merged after https://github.com/bird-sanctuary/bluejay/tree/feature/dynamic_pwm