Use the truly configured middle on Delta

This commit is contained in:
Scott Lahteine 2016-08-09 23:09:12 -07:00
parent 58c8e6cef2
commit a36a168af2

View file

@ -79,7 +79,7 @@
#endif #endif
#else #else
#if ENABLED(DELTA) #if ENABLED(DELTA)
#define X_HOME_POS ((X_MAX_LENGTH) * 0.5) #define X_HOME_POS (X_MIN_POS + (X_MAX_LENGTH) * 0.5)
#else #else
#define X_HOME_POS (X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS) #define X_HOME_POS (X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS)
#endif #endif
@ -95,7 +95,7 @@
#endif #endif
#else #else
#if ENABLED(DELTA) #if ENABLED(DELTA)
#define Y_HOME_POS ((Y_MAX_LENGTH) * 0.5) #define Y_HOME_POS (Y_MIN_POS + (Y_MAX_LENGTH) * 0.5)
#else #else
#define Y_HOME_POS (Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS) #define Y_HOME_POS (Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS)
#endif #endif