Fix MP_SCARA compile (#21686)

This commit is contained in:
ellensp 2021-04-24 17:11:11 +12:00 committed by Scott Lahteine
parent 011a344500
commit cf5ea1ccdc
2 changed files with 2 additions and 2 deletions

View file

@ -921,7 +921,7 @@
#define NORMAL_AXIS Z_AXIS #define NORMAL_AXIS Z_AXIS
#endif #endif
#if EITHER(MORGAN_SCARA, AXEL_TPARA) #if ANY(MORGAN_SCARA, MP_SCARA, AXEL_TPARA)
#define IS_SCARA 1 #define IS_SCARA 1
#define IS_KINEMATIC 1 #define IS_KINEMATIC 1
#elif ENABLED(DELTA) #elif ENABLED(DELTA)

View file

@ -1251,7 +1251,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
/** /**
* Allow only one kinematic type to be defined * Allow only one kinematic type to be defined
*/ */
#if MANY(DELTA, MORGAN_SCARA, AXEL_TPARA, COREXY, COREXZ, COREYZ, COREYX, COREZX, COREZY, MARKFORGED_XY) #if MANY(DELTA, MORGAN_SCARA, MP_SCARA, AXEL_TPARA, COREXY, COREXZ, COREYZ, COREYX, COREZX, COREZY, MARKFORGED_XY)
#error "Please enable only one of DELTA, MORGAN_SCARA, AXEL_TPARA, COREXY, COREYX, COREXZ, COREZX, COREYZ, COREZY, or MARKFORGED_XY." #error "Please enable only one of DELTA, MORGAN_SCARA, AXEL_TPARA, COREXY, COREYX, COREXZ, COREZX, COREYZ, COREZY, or MARKFORGED_XY."
#endif #endif