#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).
#endif
Change Z_SAFE_HOMING_X_POINT from ((X_BED_SIZE) / 2) to the value you want. Same for Y.
After flashing, reset EEPROM and make a new mesh, to be on the safe side.
#define Z_SAFE_HOMING_X_POINT
Look for:
Change Z_SAFE_HOMING_X_POINT from ((X_BED_SIZE) / 2) to the value you want. Same for Y.
After flashing, reset EEPROM and make a new mesh, to be on the safe side.