Browse Source

Return set_directions() to stepper.cpp (#12182)

Initial manual Z move can be negative if your stepper is inverted. Leads to bad situations for crashed or initially booted printers.
forkoz 6 years ago
parent
commit
3a3ab3391f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/src/module/stepper.cpp

+ 1
- 0
Marlin/src/module/stepper.cpp View File

2088
 
2088
 
2089
   endstops.enable(true); // Start with endstops active. After homing they can be disabled
2089
   endstops.enable(true); // Start with endstops active. After homing they can be disabled
2090
   sei();
2090
   sei();
2091
+  set_directions(); // Init directions to last_direction_bits = 0  Keeps Z from being reversed
2091
 }
2092
 }
2092
 
2093
 
2093
 /**
2094
 /**

Loading…
Cancel
Save