Skip to content

Commit e14bf8a

Browse files
committed
Adjust bed sizes for MZ1 + upgraded 220x220 bed
1 parent 9882e4d commit e14bf8a

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

Marlin/Configuration.h

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,13 +1362,26 @@
13621362

13631363
// @section machine
13641364

1365+
#if ANY(KAD_SKR_BED, KAD_MELZI_BED) && DISABLED(KAD_PSU_24V)
1366+
// KAD: Assuming 220x220 heated bed mod on MZ1
1367+
#define X_BED_SIZE 220
1368+
#define Y_BED_SIZE 220
1369+
#define X_MIN_POS -12
1370+
#define Y_MIN_POS -7
1371+
#else
1372+
#define X_BED_SIZE 225
1373+
#define Y_BED_SIZE 225
1374+
#define X_MIN_POS -7
1375+
#define Y_MIN_POS -2
1376+
#endif
1377+
13651378
// The size of the printable area
1366-
#define X_BED_SIZE 225
1367-
#define Y_BED_SIZE 225
1379+
//#define X_BED_SIZE 225
1380+
//#define Y_BED_SIZE 225
13681381

13691382
// Travel limits (mm) after homing, corresponding to endstop positions.
1370-
#define X_MIN_POS -7
1371-
#define Y_MIN_POS -2
1383+
//#define X_MIN_POS -7
1384+
//#define Y_MIN_POS -2
13721385
#define Z_MIN_POS 0
13731386
#define X_MAX_POS X_BED_SIZE
13741387
#define Y_MAX_POS Y_BED_SIZE

0 commit comments

Comments
 (0)