Browse Source

Comment a motion function

Scott Lahteine 5 years ago
parent
commit
daa5bbc5eb
1 changed files with 7 additions and 2 deletions
  1. 7
    2
      Marlin/src/module/motion.cpp

+ 7
- 2
Marlin/src/module/motion.cpp View File

@@ -348,6 +348,11 @@ void line_to_current_position(const feedRate_t &fr_mm_s/*=feedrate_mm_s*/) {
348 348
 
349 349
 #endif // IS_KINEMATIC
350 350
 
351
+/**
352
+ * Do a fast or normal move to 'destination' with an optional FR.
353
+ *  - Move at normal speed regardless of feedrate percentage.
354
+ *  - Extrude the specified length regardless of flow percentage.
355
+ */
351 356
 void _internal_move_to_destination(const feedRate_t &fr_mm_s/*=0.0f*/
352 357
   #if IS_KINEMATIC
353 358
     , const bool is_fast/*=false*/
@@ -360,8 +365,8 @@ void _internal_move_to_destination(const feedRate_t &fr_mm_s/*=0.0f*/
360 365
   feedrate_percentage = 100;
361 366
 
362 367
   #if EXTRUDERS
363
-     const float old_fac = planner.e_factor[active_extruder];
364
-     planner.e_factor[active_extruder] = 1.0f;
368
+    const float old_fac = planner.e_factor[active_extruder];
369
+    planner.e_factor[active_extruder] = 1.0f;
365 370
   #endif
366 371
 
367 372
   #if IS_KINEMATIC

Loading…
Cancel
Save