Browse Source

Simplification

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
2e03c7939c
  1. 6
      Marlin/src/module/stepper.h

6
Marlin/src/module/stepper.h

@ -452,11 +452,7 @@ class Stepper {
// The extruder associated to the last movement // The extruder associated to the last movement
FORCE_INLINE static uint8_t movement_extruder() { FORCE_INLINE static uint8_t movement_extruder() {
return (0 return (EXTRUDERS > 1 && DISABLED(MIXING_EXTRUDER)) ? last_moved_extruder : 0;
#if EXTRUDERS > 1 && DISABLED(MIXING_EXTRUDER)
+ last_moved_extruder
#endif
);
} }
// Handle a triggered endstop // Handle a triggered endstop

Loading…
Cancel
Save