Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
void GcodeSuite::M540() {
|
||||
|
||||
if (parser.seen('S'))
|
||||
stepper.abort_on_endstop_hit = parser.value_bool();
|
||||
planner.abort_on_endstop_hit = parser.value_bool();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user