Edit hard limit check at start of homing cycle

This commit is contained in:
Sonny Jeon
2014-09-20 10:41:31 -06:00
parent 041109410a
commit 39cf822944
3 changed files with 8 additions and 7 deletions

View File

@ -122,6 +122,7 @@ void limits_disable()
// mask, which prevents the stepper algorithm from executing step pulses. Homing motions typically
// circumvent the processes for executing motions in normal operation.
// NOTE: Only the abort runtime command can interrupt this process.
// TODO: Move limit pin-specific calls to a general function for portability.
void limits_go_home(uint8_t cycle_mask)
{
if (sys.abort) { return; } // Block if system reset has been issued.