Tweaks
This commit is contained in:
parent
c3295b715c
commit
27cc75b95c
2 changed files with 6 additions and 6 deletions
|
|
@ -376,7 +376,7 @@ void GcodeSuite::G28() {
|
|||
#if Z_HOME_DIR < 0
|
||||
|
||||
if (doZ) {
|
||||
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
||||
#if EITHER(Z_MULTI_ENDSTOPS, Z_STEPPER_AUTO_ALIGN)
|
||||
stepper.set_all_z_lock(false);
|
||||
stepper.set_separate_multi_axis(false);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ void GcodeSuite::G34() {
|
|||
int zStepper;
|
||||
bool state;
|
||||
parser.intval('Z', zStepper);
|
||||
parser.boolval(S, state);
|
||||
parser.boolval('S', state);
|
||||
|
||||
|
||||
stepper.set_separate_multi_axis(true);
|
||||
|
|
@ -73,18 +73,18 @@ void GcodeSuite::G34() {
|
|||
switch(zStepper)
|
||||
{
|
||||
case 1 :
|
||||
set_z1_lock(state);
|
||||
stepper.set_z1_lock(state);
|
||||
break;
|
||||
case 2 :
|
||||
set_z2_lock(state);
|
||||
stepper.set_z2_lock(state);
|
||||
break;
|
||||
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||
case 3 :
|
||||
set_z3_lock(state);
|
||||
stepper.set_z3_lock(state);
|
||||
break;
|
||||
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||
case 4 :
|
||||
set_z4_lock(state);
|
||||
stepper.set_z4_lock(state);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue