Fix home_all_axis to make QUICK_HOME work with Repetier-Host which sends G28 X0 Y0 Z0 instead of G28. Thanks to Matt Schoenholz for reporting this issue.
This commit is contained in:
parent
3b2e5027e5
commit
6dfb8a2187
1 changed files with 2 additions and 1 deletions
|
@ -729,7 +729,8 @@ void process_commands()
|
|||
destination[i] = current_position[i];
|
||||
}
|
||||
feedrate = 0.0;
|
||||
home_all_axis = !((code_seen(axis_codes[0])) || (code_seen(axis_codes[1])) || (code_seen(axis_codes[2])));
|
||||
home_all_axis = !((code_seen(axis_codes[0])) || (code_seen(axis_codes[1])) || (code_seen(axis_codes[2])))
|
||||
|| ((code_seen(axis_codes[0])) && (code_seen(axis_codes[1])) && (code_seen(axis_codes[2])));
|
||||
|
||||
#ifdef QUICK_HOME
|
||||
if (home_all_axis) // Move all carriages up together until the first endstop is hit.
|
||||
|
|
Reference in a new issue