bed_mesh: Allow bedmeshing at 1mm spaced intervals (#5918)

Signed-off-by: Keyan Mobli <keyan@kmobli.com>
This commit is contained in:
Keyan Mobli 2022-12-19 10:14:45 -06:00 committed by GitHub
parent 4af8786587
commit 8621ebbed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ class BedMeshCalibrate:
# floor distances down to next hundredth # floor distances down to next hundredth
x_dist = math.floor(x_dist * 100) / 100 x_dist = math.floor(x_dist * 100) / 100
y_dist = math.floor(y_dist * 100) / 100 y_dist = math.floor(y_dist * 100) / 100
if x_dist <= 1. or y_dist <= 1.: if x_dist < 1. or y_dist < 1.:
raise error("bed_mesh: min/max points too close together") raise error("bed_mesh: min/max points too close together")
if self.radius is not None: if self.radius is not None: