|
@@ -386,7 +386,7 @@ void Planner::recalculate() {
|
386
|
386
|
#endif //AUTOTEMP
|
387
|
387
|
|
388
|
388
|
/**
|
389
|
|
- * Maintain fans, paste extruder pressure,
|
|
389
|
+ * Maintain fans, paste extruder pressure,
|
390
|
390
|
*/
|
391
|
391
|
void Planner::check_axes_activity() {
|
392
|
392
|
unsigned char axis_active[NUM_AXIS] = { 0 },
|
|
@@ -539,7 +539,7 @@ void Planner::check_axes_activity() {
|
539
|
539
|
while (block_buffer_tail == next_buffer_head) idle();
|
540
|
540
|
|
541
|
541
|
#if ENABLED(MESH_BED_LEVELING)
|
542
|
|
- if (mbl.active())
|
|
542
|
+ if (mbl.active())
|
543
|
543
|
z += mbl.get_z(x - home_offset[X_AXIS], y - home_offset[Y_AXIS]);
|
544
|
544
|
#elif ENABLED(AUTO_BED_LEVELING_FEATURE)
|
545
|
545
|
apply_rotation_xyz(bed_level_matrix, x, y, z);
|
|
@@ -1057,7 +1057,7 @@ void Planner::check_axes_activity() {
|
1057
|
1057
|
// This leads to an enormous number of advance steps due to a huge e_acceleration.
|
1058
|
1058
|
// The math is correct, but you don't want a retract move done with advance!
|
1059
|
1059
|
// So this situation is filtered out here.
|
1060
|
|
- if (!bse || (!bsx && !bsy && !bsz) || stepper.get_advance_k() == 0 || bse == allsteps) {
|
|
1060
|
+ if (!bse || (!bsx && !bsy && !bsz) || stepper.get_advance_k() == 0 || (uint32_t) bse == allsteps) {
|
1061
|
1061
|
block->use_advance_lead = false;
|
1062
|
1062
|
}
|
1063
|
1063
|
else {
|