probe: Set z min value in probe_accuracy to z_offset. (#1314)

Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
This commit is contained in:
Rui Caridade 2019-02-25 17:52:54 +00:00 committed by KevinOConnor
parent 31987c7bcd
commit 749beb731c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class PrinterProbe:
speed = self.gcode.get_int('SPEED', params, default=self.speed,
minval=1, maxval=30)
z_start_position = self.gcode.get_float('Z', params, default=10.,
minval=10., maxval=70.)
minval=self.z_offset, maxval=70.)
x_start_position = self.gcode.get_float('X', params, default=pos[0])
y_start_position = self.gcode.get_float('Y', params, default=pos[1])
self.gcode.respond_info("probe accuracy: at X:%.3f Y:%.3f Z:%.3f\n"