|
@@ -166,9 +166,11 @@ void GcodeSuite::M115() {
|
166
|
166
|
|
167
|
167
|
// Machine Geometry
|
168
|
168
|
#if ENABLED(M115_GEOMETRY_REPORT)
|
169
|
|
- const xyz_pos_t dmin = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS },
|
|
169
|
+ const xyz_pos_t bmin = { 0, 0, 0 },
|
|
170
|
+ bmax = { X_BED_SIZE , Y_BED_SIZE, Z_MAX_POS },
|
|
171
|
+ dmin = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS },
|
170
|
172
|
dmax = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS };
|
171
|
|
- xyz_pos_t cmin = dmin, cmax = dmax;
|
|
173
|
+ xyz_pos_t cmin = bmin, cmax = bmax;
|
172
|
174
|
apply_motion_limits(cmin);
|
173
|
175
|
apply_motion_limits(cmax);
|
174
|
176
|
const xyz_pos_t lmin = dmin.asLogical(), lmax = dmax.asLogical(),
|