Fix G29 missing defines (#21145)

Co-authored-by: ellensp <ellensp@hotmsil.com>
This commit is contained in:
ellenspandellensp authored and GitHub committed 2021-02-20 20:14:47 -06:00
1 parent b8d7925d0d
commit b3ecede429
2 files changed
+9 -8

No files matched your search

-8
View File
@@ -335,14 +335,6 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
#define PROBING_BED_TEMP 0
#endif
#endif
#if ENABLED(PREHEAT_BEFORE_LEVELING)
#ifndef LEVELING_NOZZLE_TEMP
#define LEVELING_NOZZLE_TEMP 0
#endif
#ifndef LEVELING_BED_TEMP
#define LEVELING_BED_TEMP 0
#endif
#endif
/**
* Do preheating as required before leveling or probing.
+9
View File
@@ -44,6 +44,15 @@
#define PROBE_TRIGGERED() (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING)
#endif
#if ENABLED(PREHEAT_BEFORE_LEVELING)
#ifndef LEVELING_NOZZLE_TEMP
#define LEVELING_NOZZLE_TEMP 0
#endif
#ifndef LEVELING_BED_TEMP
#define LEVELING_BED_TEMP 0
#endif
#endif
class Probe {
public: