disable steppers as routine in stepper.cpp

This commit is contained in:
Bernhard
2011-11-26 11:50:23 +01:00
parent 74d0032e25
commit 4d6a5c29df
3 changed files with 14 additions and 6 deletions

View File

@ -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();
}