|
@@ -198,17 +198,11 @@ class Planner {
|
198
|
198
|
|
199
|
199
|
static bool is_full() { return (block_buffer_tail == BLOCK_MOD(block_buffer_head + 1)); }
|
200
|
200
|
|
201
|
|
- #if HAS_ABL || ENABLED(MESH_BED_LEVELING)
|
|
201
|
+ #if PLANNER_LEVELING
|
|
202
|
+
|
202
|
203
|
#define ARG_X float lx
|
203
|
204
|
#define ARG_Y float ly
|
204
|
205
|
#define ARG_Z float lz
|
205
|
|
- #else
|
206
|
|
- #define ARG_X const float &lx
|
207
|
|
- #define ARG_Y const float &ly
|
208
|
|
- #define ARG_Z const float &lz
|
209
|
|
- #endif
|
210
|
|
-
|
211
|
|
- #if PLANNER_LEVELING
|
212
|
206
|
|
213
|
207
|
/**
|
214
|
208
|
* Apply leveling to transform a cartesian position
|
|
@@ -218,6 +212,12 @@ class Planner {
|
218
|
212
|
static void apply_leveling(float logical[XYZ]) { apply_leveling(logical[X_AXIS], logical[Y_AXIS], logical[Z_AXIS]); }
|
219
|
213
|
static void unapply_leveling(float logical[XYZ]);
|
220
|
214
|
|
|
215
|
+ #else
|
|
216
|
+
|
|
217
|
+ #define ARG_X const float &lx
|
|
218
|
+ #define ARG_Y const float &ly
|
|
219
|
+ #define ARG_Z const float &lz
|
|
220
|
+
|
221
|
221
|
#endif
|
222
|
222
|
|
223
|
223
|
/**
|