Fixed bug with homing and polling at the same time. Updated readme.

This commit is contained in:
Sonny Jeon
2013-01-06 12:32:41 -07:00
parent e0f619b8c3
commit 4f459e473b
4 changed files with 6 additions and 6 deletions

View File

@@ -218,6 +218,8 @@ void mc_go_home()
LIMIT_PCMSK &= ~LIMIT_MASK; // Disable hard limits pin change register for cycle duration
limits_go_home(); // Perform homing routine.
protocol_execute_runtime(); // Check for reset and set system abort.
if (sys.abort) { return; } // Did not complete. Alarm state set by mc_alarm.
// The machine should now be homed and machine zero has been located. Upon completion,