Use center defines for Z Safe Homing XY (#17782)

This commit is contained in:
Stephan 2020-04-29 01:12:56 +02:00 committed by GitHub
parent bd82b8bc7e
commit e7a6a52eda
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1368,8 +1368,8 @@
//#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28).
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing when homing all axes (G28).
#define Z_SAFE_HOMING_Y_POINT Y_CENTER // Y point for Z homing when homing all axes (G28).
#endif
// Homing speeds (mm/m)