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

[1.1.x] Split first move to planner for better chaining #8658

Merged

Conversation

thinkyhead
Copy link
Member

@thinkyhead thinkyhead commented Dec 4, 2017

Split the first move to an empty planner to allow chaining subsequent moves. This fixes a longstanding issue in Marlin (and Grbl) where the first move starts to get processed by the Stepper ISR before the planner has had a chance to chain its velocity to the next move.


  • Thanks to @AnHardt for proposing this solution!

  • Thanks to @hg42 for solving a vexing issue! Arrays must be passed by reference or the sizeof(myarray) information gets lost.


References: #8573, #8595

@thinkyhead thinkyhead merged commit 3abd307 into MarlinFirmware:bugfix-1.1.x Dec 4, 2017
@thinkyhead thinkyhead deleted the backup_1_split_first branch December 4, 2017 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant