Browse Source

Fix the delta homing issue (#12974)

pull/1/head
Nathan 6 years ago
committed by Scott Lahteine
parent
commit
df1043516e
  1. 10
      Marlin/src/module/delta.cpp

10
Marlin/src/module/delta.cpp

@ -37,6 +37,10 @@
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#include "../Marlin.h" #include "../Marlin.h"
#if HAS_BED_PROBE
#include "probe.h"
#endif
#if ENABLED(SENSORLESS_HOMING) #if ENABLED(SENSORLESS_HOMING)
#include "../feature/tmc_util.h" #include "../feature/tmc_util.h"
#include "stepper_indirection.h" #include "stepper_indirection.h"
@ -229,7 +233,11 @@ void home_delta() {
#endif #endif
// Move all carriages together linearly until an endstop is hit. // Move all carriages together linearly until an endstop is hit.
destination[Z_AXIS] = (delta_height + 10); destination[Z_AXIS] = (delta_height
#if HAS_BED_PROBE
- zprobe_zoffset
#endif
+ 10);
buffer_line_to_destination(homing_feedrate(X_AXIS)); buffer_line_to_destination(homing_feedrate(X_AXIS));
planner.synchronize(); planner.synchronize();

Loading…
Cancel
Save