Skip to content

Commit 043651d

Browse files
committed
fixup
1 parent 4360938 commit 043651d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Marlin/src/module/probe.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@
103103
#define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
104104
#include "../core/debug_out.h"
105105

106+
#if ENABLED(G38_PROBE_TARGET)
107+
probe_target_t G38_move{0};
108+
#endif
109+
106110
Probe probe;
107111

108112
xyz_pos_t Probe::offset; // Initialized by settings.load
@@ -114,9 +118,6 @@ xyz_pos_t Probe::offset; // Initialized by settings.load
114118
#endif
115119

116120

117-
#if ENABLED(G38_PROBE_TARGET)
118-
probe_target_t Probe::G38_move{0};
119-
#endif
120121
#if ENABLED(SENSORLESS_PROBING)
121122
Probe::sense_bool_t Probe::test_sensitivity = { true, true, true };
122123
#endif

Marlin/src/module/probe.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@
8484
extern abc_float_t offset_sensorless_adj;
8585
#endif
8686

87+
#if ENABLED(G38_PROBE_TARGET)
88+
static probe_target_t G38_move;
89+
#endif
8790
class Probe {
8891
public:
8992

@@ -95,10 +98,6 @@ class Probe {
9598
#if HAS_BED_PROBE
9699

97100
static xyz_pos_t offset;
98-
99-
#if ENABLED(G38_PROBE_TARGET)
100-
static probe_target_t G38_move;
101-
#endif
102101

103102
#if ANY(PREHEAT_BEFORE_PROBING, PREHEAT_BEFORE_LEVELING)
104103
static void preheat_for_probing(const celsius_t hotend_temp, const celsius_t bed_temp, const bool early=false);

0 commit comments

Comments
 (0)