Browse Source

Fix G29 missing defines (#21145)

Co-authored-by: ellensp <ellensp@hotmsil.com>
vanilla_fb_2.0.x
ellensp 3 years ago
committed by GitHub
parent
commit
b3ecede429
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Marlin/src/module/probe.cpp
  2. 9
      Marlin/src/module/probe.h

8
Marlin/src/module/probe.cpp

@ -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
Marlin/src/module/probe.h

@ -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:

Loading…
Cancel
Save