Fix G29 missing defines (#21145)

Co-authored-by: ellensp <ellensp@hotmsil.com>
This commit is contained in:
ellensp 2021-02-21 15:14:47 +13:00 committed by Scott Lahteine
parent bdb67b4397
commit 3f1a8c2a1c
2 changed files with 9 additions and 8 deletions

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.

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: