Browse Source

Fix FIX_MOUNTED_PROBE compile error (#14393)

Marcio Teixeira 6 years ago
parent
commit
8e23e9b16c
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/src/gcode/calibrate/G28.cpp

+ 3
- 2
Marlin/src/gcode/calibrate/G28.cpp View File

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

Loading…
Cancel
Save