MBL: Fix for negative x/y positions
This commit is contained in:
@ -24,6 +24,10 @@
|
||||
|
||||
#if ENABLED(MESH_BED_LEVELING)
|
||||
|
||||
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
|
||||
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
|
||||
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
|
||||
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
|
||||
#define MESH_X_DIST ((MESH_MAX_X - (MESH_MIN_X))/(MESH_NUM_X_POINTS - 1))
|
||||
#define MESH_Y_DIST ((MESH_MAX_Y - (MESH_MIN_Y))/(MESH_NUM_Y_POINTS - 1))
|
||||
|
||||
|
Reference in New Issue
Block a user