0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-28 03:47:04 +00:00

🐛 Fix auto-assignment errors for J and U axis (#26979)

This commit is contained in:
ellensp 2024-04-21 09:46:48 +12:00 committed by GitHub
parent b4a95db7da
commit d502e5beaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1247,7 +1247,7 @@
#define J_STEP_PIN _EPIN(J_E_INDEX, STEP) #define J_STEP_PIN _EPIN(J_E_INDEX, STEP)
#define J_DIR_PIN _EPIN(J_E_INDEX, DIR) #define J_DIR_PIN _EPIN(J_E_INDEX, DIR)
#define J_ENABLE_PIN _EPIN(J_E_INDEX, ENABLE) #define J_ENABLE_PIN _EPIN(J_E_INDEX, ENABLE)
#if I_E_INDEX >= MAX_E_STEPPERS || !PIN_EXISTS(J_STEP) #if J_E_INDEX >= MAX_E_STEPPERS || !PIN_EXISTS(J_STEP)
#error "No E stepper plug left for J!" #error "No E stepper plug left for J!"
#else #else
#define AUTO_ASSIGNED_J_STEPPER 1 #define AUTO_ASSIGNED_J_STEPPER 1
@ -1417,7 +1417,7 @@
#define U_STEP_PIN _EPIN(U_E_INDEX, STEP) #define U_STEP_PIN _EPIN(U_E_INDEX, STEP)
#define U_DIR_PIN _EPIN(U_E_INDEX, DIR) #define U_DIR_PIN _EPIN(U_E_INDEX, DIR)
#define U_ENABLE_PIN _EPIN(U_E_INDEX, ENABLE) #define U_ENABLE_PIN _EPIN(U_E_INDEX, ENABLE)
#if M_E_INDEX >= MAX_E_STEPPERS || !PIN_EXISTS(U_STEP) #if U_E_INDEX >= MAX_E_STEPPERS || !PIN_EXISTS(U_STEP)
#error "No E stepper plug left for U!" #error "No E stepper plug left for U!"
#else #else
#define AUTO_ASSIGNED_U_STEPPER 1 #define AUTO_ASSIGNED_U_STEPPER 1