🩹Disable nonlinear extrusion on unretract (#26824)

* Fixes disable NLE on unretract #26808, which reported blobs at the start of lines during unretract.
This commit is contained in:
Vovodroid
2024-04-07 08:41:01 +03:00
committed by GitHub
parent a337a43bfd
commit c91771a51e
3 changed files with 8 additions and 6 deletions

View File

@@ -2770,7 +2770,7 @@ hal_timer_t Stepper::block_phase_isr() {
ne_edividend = advance_dividend.e;
const float scale = (float(ne_edividend) / advance_divisor) * planner.mm_per_step[E_AXIS_N(current_block->extruder)];
ne_scale = (1L << 24) * scale;
if (current_block->direction_bits.e) {
if (current_block->direction_bits.e && ANY_AXIS_MOVES(current_block)) {
ne_fix.A = (1L << 24) * ne.A;
ne_fix.B = (1L << 24) * ne.B;
ne_fix.C = (1L << 24) * ne.C;