Fix delta_mm.e with zero extruders (#15996)

2.0.x
Chris Pepper 5 years ago committed by Scott Lahteine
parent 43d0391d82
commit c1aac3a0c9

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

Loading…
Cancel
Save