Преглед изворни кода

[2.0.x] stow bltouch before start homing (#10987)

Giuliano пре 7 година
родитељ
комит
f1cdfe3dfd
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5
    1
      Marlin/src/gcode/calibrate/G28.cpp

+ 5
- 1
Marlin/src/gcode/calibrate/G28.cpp Прегледај датотеку

39
   #include "../../feature/tmc_util.h"
39
   #include "../../feature/tmc_util.h"
40
 #endif
40
 #endif
41
 
41
 
42
-#if HOMING_Z_WITH_PROBE
42
+#if HOMING_Z_WITH_PROBE || ENABLED(BLTOUCH)
43
   #include "../../module/probe.h"
43
   #include "../../module/probe.h"
44
 #endif
44
 #endif
45
 
45
 
190
     workspace_plane = PLANE_XY;
190
     workspace_plane = PLANE_XY;
191
   #endif
191
   #endif
192
 
192
 
193
+  #if ENABLED(BLTOUCH)
194
+    set_bltouch_deployed(false);
195
+  #endif
196
+
193
   // Always home with tool 0 active
197
   // Always home with tool 0 active
194
   #if HOTENDS > 1
198
   #if HOTENDS > 1
195
     #if DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE)
199
     #if DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE)

Loading…
Откажи
Сачувај