Added note that D13 can't be used as input, pulled-high.

This commit is contained in:
Sonny Jeon
2012-11-09 18:33:38 -07:00
parent 5844172af1
commit 978de77c2f
2 changed files with 2 additions and 3 deletions

View File

@ -217,14 +217,13 @@ void mc_go_home()
if (sys.abort) {
sys.state = STATE_ALARM; // Homing routine did not complete.
return;
} else {
sys.state = STATE_IDLE; // Otherwise, homed and zero out machine position.
}
// The machine should now be homed and machine zero has been located. Upon completion,
// reset system position and sync internal position vectors.
clear_vector_float(sys.position); // Set machine zero
sys_sync_current_position();
sys.state = STATE_IDLE; // Set system state to IDLE to complete motion and indicate homed.
// Pull-off all axes from limit switches before continuing motion. This provides some initial
// clearance off the switches and should also help prevent them from falsely tripping when