|
@@ -319,8 +319,10 @@ void _internal_move_to_destination(const feedRate_t &fr_mm_s/*=0.0f*/
|
319
|
319
|
const uint16_t old_pct = feedrate_percentage;
|
320
|
320
|
feedrate_percentage = 100;
|
321
|
321
|
|
322
|
|
- const float old_fac = planner.e_factor[active_extruder];
|
323
|
|
- planner.e_factor[active_extruder] = 1.0f;
|
|
322
|
+ #if EXTRUDERS
|
|
323
|
+ const float old_fac = planner.e_factor[active_extruder];
|
|
324
|
+ planner.e_factor[active_extruder] = 1.0f;
|
|
325
|
+ #endif
|
324
|
326
|
|
325
|
327
|
#if IS_KINEMATIC
|
326
|
328
|
if (is_fast)
|
|
@@ -331,7 +333,9 @@ void _internal_move_to_destination(const feedRate_t &fr_mm_s/*=0.0f*/
|
331
|
333
|
|
332
|
334
|
feedrate_mm_s = old_feedrate;
|
333
|
335
|
feedrate_percentage = old_pct;
|
334
|
|
- planner.e_factor[active_extruder] = old_fac;
|
|
336
|
+ #if EXTRUDERS
|
|
337
|
+ planner.e_factor[active_extruder] = old_fac;
|
|
338
|
+ #endif
|
335
|
339
|
}
|
336
|
340
|
|
337
|
341
|
/**
|