Browse Source

Comment on setup_for_endstop_move

Scott Lahteine 8 years ago
parent
commit
6aba98e470
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      Marlin/Marlin_main.cpp

+ 12
- 0
Marlin/Marlin_main.cpp View File

@@ -1570,6 +1570,18 @@ inline void sync_plan_position_e() { planner.set_e_position_mm(current_position[
1570 1570
 inline void set_current_to_destination() { memcpy(current_position, destination, sizeof(current_position)); }
1571 1571
 inline void set_destination_to_current() { memcpy(destination, current_position, sizeof(destination)); }
1572 1572
 
1573
+//
1574
+// Prepare to do endstop or probe moves
1575
+// with custom feedrates.
1576
+//
1577
+//  - Save current feedrates
1578
+//  - Reset the rate multiplier
1579
+//  - Enable the endstops
1580
+//  - Reset the command timeout
1581
+//
1582
+// clean_up_after_endstop_move() restores
1583
+// feedrates, sets endstops back to global state.
1584
+//
1573 1585
 static void setup_for_endstop_move() {
1574 1586
   saved_feedrate = feedrate;
1575 1587
   saved_feedrate_multiplier = feedrate_multiplier;

Loading…
Cancel
Save