Sfoglia il codice sorgente

Fix G29 missing defines (#21145)

Co-authored-by: ellensp <ellensp@hotmsil.com>
ellensp 3 anni fa
parent
commit
b3ecede429
Nessun account collegato all'indirizzo email del committer
2 ha cambiato i file con 9 aggiunte e 8 eliminazioni
  1. 0
    8
      Marlin/src/module/probe.cpp
  2. 9
    0
      Marlin/src/module/probe.h

+ 0
- 8
Marlin/src/module/probe.cpp Vedi File

@@ -335,14 +335,6 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
335 335
       #define PROBING_BED_TEMP 0
336 336
     #endif
337 337
   #endif
338
-  #if ENABLED(PREHEAT_BEFORE_LEVELING)
339
-    #ifndef LEVELING_NOZZLE_TEMP
340
-      #define LEVELING_NOZZLE_TEMP 0
341
-    #endif
342
-    #ifndef LEVELING_BED_TEMP
343
-      #define LEVELING_BED_TEMP 0
344
-    #endif
345
-  #endif
346 338
 
347 339
   /**
348 340
    * Do preheating as required before leveling or probing.

+ 9
- 0
Marlin/src/module/probe.h Vedi File

@@ -44,6 +44,15 @@
44 44
   #define PROBE_TRIGGERED() (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING)
45 45
 #endif
46 46
 
47
+#if ENABLED(PREHEAT_BEFORE_LEVELING)
48
+  #ifndef LEVELING_NOZZLE_TEMP
49
+    #define LEVELING_NOZZLE_TEMP 0
50
+  #endif
51
+  #ifndef LEVELING_BED_TEMP
52
+    #define LEVELING_BED_TEMP 0
53
+  #endif
54
+#endif
55
+
47 56
 class Probe {
48 57
 public:
49 58
 

Loading…
Annulla
Salva