|
@@ -336,14 +336,16 @@ void line_to_current_position(const feedRate_t &fr_mm_s/*=feedrate_mm_s*/) {
|
336
|
336
|
planner.buffer_line(current_position, fr_mm_s, active_extruder);
|
337
|
337
|
}
|
338
|
338
|
|
339
|
|
-void unscaled_e_move(const float &length, const feedRate_t &fr_mm_s) {
|
340
|
|
- #if HAS_FILAMENT_SENSOR
|
341
|
|
- runout.reset();
|
342
|
|
- #endif
|
343
|
|
- current_position.e += length / planner.e_factor[active_extruder];
|
344
|
|
- line_to_current_position(fr_mm_s);
|
345
|
|
- planner.synchronize();
|
346
|
|
-}
|
|
339
|
+#if EXTRUDERS
|
|
340
|
+ void unscaled_e_move(const float &length, const feedRate_t &fr_mm_s) {
|
|
341
|
+ #if HAS_FILAMENT_SENSOR
|
|
342
|
+ runout.reset();
|
|
343
|
+ #endif
|
|
344
|
+ current_position.e += length / planner.e_factor[active_extruder];
|
|
345
|
+ line_to_current_position(fr_mm_s);
|
|
346
|
+ planner.synchronize();
|
|
347
|
+ }
|
|
348
|
+#endif
|
347
|
349
|
|
348
|
350
|
#if IS_KINEMATIC
|
349
|
351
|
|