Use bed size and inset instead of travel limits to define mesh area\n\nAs proposed in #7435 (#7480)

This commit is contained in:
Frederik Kemner 2017-08-10 14:53:04 -07:00 committed by Roxy-3D
parent 6440904c1c
commit 25a11cd485
27 changed files with 216 additions and 216 deletions

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -674,15 +674,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -663,15 +663,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -663,15 +663,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -663,15 +663,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -663,15 +663,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -668,15 +668,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -663,15 +663,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.

View file

@ -661,15 +661,15 @@
// Below are the macros that are used to define the borders for the mesh area, // Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup. // made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET) #define MESH_MIN_X MESH_INSET
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET)) #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET) #define MESH_MIN_Y MESH_INSET
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET)) #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
#elif ENABLED(AUTO_BED_LEVELING_UBL) #elif ENABLED(AUTO_BED_LEVELING_UBL)
#define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_X UBL_MESH_INSET
#define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
#define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET) #define UBL_MESH_MIN_Y UBL_MESH_INSET
#define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET)) #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
// If this is defined, the currently active mesh will be saved in the // If this is defined, the currently active mesh will be saved in the
// current slot on M500. // current slot on M500.