Pārlūkot izejas kodu

Remove clean_up_after_endstop_move

Scott Lahteine 9 gadus atpakaļ
vecāks
revīzija
6a7045b9bf
1 mainītis faili ar 0 papildinājumiem un 9 dzēšanām
  1. 0
    9
      Marlin/Marlin_main.cpp

+ 0
- 9
Marlin/Marlin_main.cpp Parādīt failu

1592
 //  - Reset the command timeout
1592
 //  - Reset the command timeout
1593
 //  - Enable the endstops (for endstop moves)
1593
 //  - Enable the endstops (for endstop moves)
1594
 //
1594
 //
1595
-// clean_up_after_endstop_move() restores
1596
-// feedrates, sets endstops back to global state.
1597
-//
1598
 static void setup_for_endstop_or_probe_move() {
1595
 static void setup_for_endstop_or_probe_move() {
1599
   #if ENABLED(DEBUG_LEVELING_FEATURE)
1596
   #if ENABLED(DEBUG_LEVELING_FEATURE)
1600
     if (DEBUGGING(LEVELING)) DEBUG_POS("setup_for_endstop_or_probe_move", current_position);
1597
     if (DEBUGGING(LEVELING)) DEBUG_POS("setup_for_endstop_or_probe_move", current_position);
1619
 }
1616
 }
1620
 
1617
 
1621
 #if HAS_BED_PROBE
1618
 #if HAS_BED_PROBE
1622
-
1623
-  static void clean_up_after_endstop_move() {
1624
-    clean_up_after_endstop_or_probe_move();
1625
-    endstops.not_homing();
1626
-  }
1627
-
1628
   #if ENABLED(DELTA)
1619
   #if ENABLED(DELTA)
1629
     /**
1620
     /**
1630
      * Calculate delta, start a line, and set current_position to destination
1621
      * Calculate delta, start a line, and set current_position to destination

Notiek ielāde…
Atcelt
Saglabāt