Fix delta_mm.e with zero extruders (#15996)

This commit is contained in:
Chris Pepper 2019-11-26 08:58:17 +00:00 committed by Scott Lahteine
parent 43d0391d82
commit c1aac3a0c9

View File

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