소스 검색

Fix FIX_MOUNTED_PROBE compile error (#14393)

Marcio Teixeira 5 년 전
부모
커밋
8e23e9b16c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3
    2
      Marlin/src/gcode/calibrate/G28.cpp

+ 3
- 2
Marlin/src/gcode/calibrate/G28.cpp 파일 보기

@@ -39,8 +39,9 @@
39 39
   #include "../../feature/tmc_util.h"
40 40
 #endif
41 41
 
42
-#if HOMING_Z_WITH_PROBE || ENABLED(BLTOUCH)
42
+#if HAS_BED_PROBE
43 43
   #include "../../module/probe.h"
44
+  #define STOW_PROBE_BEFORE_HOMING NONE(Z_PROBE_ALLEN_KEY, Z_PROBE_SLED)
44 45
 #endif
45 46
 
46 47
 #include "../../lcd/ultralcd.h"
@@ -262,7 +263,7 @@ void GcodeSuite::G28(const bool always_home_all) {
262 263
 
263 264
     set_destination_from_current();
264 265
 
265
-    #if HAS_BED_PROBE
266
+    #if STOW_PROBE_BEFORE_HOMING
266 267
       STOW_PROBE();
267 268
     #endif
268 269
 

Loading…
취소
저장