[2.0.x] Fix Dual X Carriage tool change crash (#11447)

This commit is contained in:
Scott Lahteine
2018-08-03 20:47:29 -05:00
committed by GitHub
parent 9bae413901
commit 9c62c47579
55 changed files with 139 additions and 9 deletions

View File

@ -85,6 +85,18 @@
#define Y_MIN_BED (Y_CENTER - (Y_BED_SIZE) / 2)
#define Y_MAX_BED (Y_CENTER + (Y_BED_SIZE) / 2)
/**
* Dual X Carriage
*/
#if ENABLED(DUAL_X_CARRIAGE)
#ifndef X1_MIN_POS
#define X1_MIN_POS X_MIN_POS
#endif
#ifndef X1_MAX_POS
#define X1_MAX_POS X_BED_SIZE
#endif
#endif
/**
* CoreXY, CoreXZ, and CoreYZ - and their reverse
*/