Refactor and optimize Stepper/Planner

Better encapsulation and considerably reduce stepper jitter
This commit is contained in:
etagle authored and Scott Lahteine committed 2018-05-20 06:23:58 -05:00
1 parent 0566badcef
commit a11eb50a3e
16 files changed
+975 -738

No files matched your search

+1 -1
View File
@@ -269,7 +269,7 @@ bool pin_is_protected(const pin_t pin) {
}
void quickstop_stepper() {
stepper.quick_stop();
planner.quick_stop();
planner.synchronize();
set_current_from_steppers_for_axis(ALL_AXES);
SYNC_PLAN_POSITION_KINEMATIC();