gcode_process.c: same homing order for all axes.
This is, first towards MIN, then towards MAX. Now also matches order for homing all, which is defined in home() in home.c. Partially fixes issue #107.
This commit is contained in:
parent
f6115688c5
commit
55c0be5f41
|
|
@ -212,10 +212,10 @@ void process_gcode_command() {
|
|||
axisSelected = 1;
|
||||
}
|
||||
if (next_target.seen_Z) {
|
||||
#if defined Z_MAX_PIN
|
||||
home_z_positive();
|
||||
#elif defined Z_MIN_PIN
|
||||
home_z_negative();
|
||||
#if defined Z_MIN_PIN
|
||||
home_z_negative();
|
||||
#elif defined Z_MAX_PIN
|
||||
home_z_positive();
|
||||
#endif
|
||||
axisSelected = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue