Browse Source

Fix delta_mm.e with zero extruders (#15996)

Chris Pepper 5 years ago
parent
commit
c1aac3a0c9
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/src/module/planner.cpp

+ 2
- 0
Marlin/src/module/planner.cpp View File

@@ -1808,6 +1808,8 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
1808 1808
 
1809 1809
   #if EXTRUDERS
1810 1810
     delta_mm.e = esteps_float * steps_to_mm[E_AXIS_N(extruder)];
1811
+  #else
1812
+    delta_mm.e = 0.0f;
1811 1813
   #endif
1812 1814
 
1813 1815
   #if ENABLED(LCD_SHOW_E_TOTAL)

Loading…
Cancel
Save