Probe Wizard XY position (#20167)

This commit is contained in:
wmariz
2020-11-18 00:54:21 -03:00
committed by GitHub
parent 50a77ef7f0
commit 5768ee0f9e
6 changed files with 27 additions and 14 deletions

View File

@ -100,6 +100,7 @@
#define _Y_HALF_BED ((Y_BED_SIZE) / 2)
#define X_CENTER TERN(BED_CENTER_AT_0_0, 0, _X_HALF_BED)
#define Y_CENTER TERN(BED_CENTER_AT_0_0, 0, _Y_HALF_BED)
#define XY_CENTER { X_CENTER, Y_CENTER }
// Get the linear boundaries of the bed
#define X_MIN_BED (X_CENTER - _X_HALF_BED)