|
@@ -430,9 +430,7 @@ void check_axes_activity() {
|
430
|
430
|
}
|
431
|
431
|
if((DISABLE_X) && (x_active == 0)) disable_x();
|
432
|
432
|
if((DISABLE_Y) && (y_active == 0)) disable_y();
|
433
|
|
- #ifndef Z_LATE_ENABLE
|
434
|
|
- if((DISABLE_Z) && (z_active == 0)) disable_z();
|
435
|
|
- #endif
|
|
433
|
+ if((DISABLE_Z) && (z_active == 0)) disable_z();
|
436
|
434
|
if((DISABLE_E) && (e_active == 0)) { disable_e0();disable_e1();disable_e2(); }
|
437
|
435
|
}
|
438
|
436
|
|
|
@@ -507,7 +505,9 @@ void plan_buffer_line(const float &x, const float &y, const float &z, const floa
|
507
|
505
|
//enable active axes
|
508
|
506
|
if(block->steps_x != 0) enable_x();
|
509
|
507
|
if(block->steps_y != 0) enable_y();
|
510
|
|
-// if(block->steps_z != 0) enable_z();
|
|
508
|
+ #ifndef Z_LATE_ENABLE
|
|
509
|
+ if(block->steps_z != 0) enable_z();
|
|
510
|
+ #endif
|
511
|
511
|
|
512
|
512
|
// Enable all
|
513
|
513
|
if(block->steps_e != 0) { enable_e0();enable_e1();enable_e2(); }
|