Add option to only check endstop when homing

This commit is contained in:
Erik van der Zalm
2011-12-04 20:17:21 +01:00
parent 95a0b28acb
commit b99c49ec3b
4 changed files with 89 additions and 55 deletions

View File

@ -44,6 +44,8 @@ void st_wake_up();
void checkHitEndstops(); //call from somwhere to create an serial error message with the locations the endstops where hit, in case they were triggered
void endstops_hit_on_purpose(); //avoid creation of the message, i.e. after homeing and before a routine call of checkHitEndstops();
void enable_endstops(bool check); // Enable/disable endstop checking
void checkStepperErrors(); //Print errors detected by the stepper
void finishAndDisableSteppers();