parent
30665737dc
commit
caa6ec0519
@ -166,9 +166,11 @@ void GcodeSuite::M115() {
|
|||||||
|
|
||||||
// Machine Geometry
|
// Machine Geometry
|
||||||
#if ENABLED(M115_GEOMETRY_REPORT)
|
#if ENABLED(M115_GEOMETRY_REPORT)
|
||||||
const xyz_pos_t dmin = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS },
|
const xyz_pos_t bmin = { 0, 0, 0 },
|
||||||
|
bmax = { X_BED_SIZE , Y_BED_SIZE, Z_MAX_POS },
|
||||||
|
dmin = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS },
|
||||||
dmax = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS };
|
dmax = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS };
|
||||||
xyz_pos_t cmin = dmin, cmax = dmax;
|
xyz_pos_t cmin = bmin, cmax = bmax;
|
||||||
apply_motion_limits(cmin);
|
apply_motion_limits(cmin);
|
||||||
apply_motion_limits(cmax);
|
apply_motion_limits(cmax);
|
||||||
const xyz_pos_t lmin = dmin.asLogical(), lmax = dmax.asLogical(),
|
const xyz_pos_t lmin = dmin.asLogical(), lmax = dmax.asLogical(),
|
||||||
|
Loading…
Reference in New Issue
Block a user