disable steppers as routine in stepper.cpp
This commit is contained in:
@ -702,3 +702,13 @@ long st_get_position(char axis)
|
||||
CRITICAL_SECTION_END;
|
||||
return count_pos;
|
||||
}
|
||||
|
||||
void finishAndDisableSteppers()
|
||||
{
|
||||
st_synchronize();
|
||||
LCD_MESSAGEPGM("Released.");
|
||||
disable_x();
|
||||
disable_y();
|
||||
disable_z();
|
||||
disable_e();
|
||||
}
|
||||
|
Reference in New Issue
Block a user