-
Notifications
You must be signed in to change notification settings - Fork 37
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
Refactoring/exit startup power #173
Conversation
Build artifacts:
|
@@ -1068,9 +1068,6 @@ ENDIF | |||
ljmp motor_start ; Go back and try starting motors again | |||
|
|||
exit_run_mode_is_stall: | |||
; Enable all interrupts (disabled above, in exit_run_mode) | |||
setb IE_EA |
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.
Can the tidyup of interrupt handling be included in the comment message too please?
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.
In principle that code has been removed. So you mean to the commit message?
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.
Yes my apologies
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.
…sabled when entering the function and enabled again when returning. Updated switch_power_off to also set Pwm_Limits to zero to enforce shut down Renamed Pwm_Limit to Pwm_Limit_Startup_n_Temp to make more clear the use of this variable Fixed review findings
046e949
to
303f638
Compare
Refactored exit_startup_power to improve coherency.
Updated switch_power_off to also set Pwm_Limits to zero to enforce shut down
Renamed Pwm_Limit to Pwm_Limit_Startup_n_Temp to make more clear the use of this variable