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

Fully guard multistepping code in Stepper::pulse_phase_isr() #27112

Merged
merged 2 commits into from
Jun 15, 2024

Conversation

mh-dm
Copy link
Contributor

@mh-dm mh-dm commented May 20, 2024

Description

Fully/properly guard multistepping code in Stepper::pulse_phase_isr(). This just guards out some useless code when there's no multistepping, i.e. when MULTISTEPPING_LIMIT is 1.

Just a refactoring with no behaviour change, which I did test for.

Benefits

A bit cleaner code.

@thinkyhead thinkyhead merged commit 082dc24 into MarlinFirmware:bugfix-2.1.x Jun 15, 2024
62 checks passed
@mh-dm mh-dm deleted the multistepping-guard branch June 16, 2024 14:36
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.

None yet

2 participants