probe: Move multi-sampling capability from ProbePointsHelper to Probe

This changes the config file so that the configuration of
multi-samples is now done in the [probe] (and [bltouch]) section
instead of the various delta, bed_mesh, z_tilt, etc. config sections.

With this change, PROBE and PROBE_CALIBRATE commands now also utilize
multi-sampling.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-05-31 13:47:15 -04:00 committed by KevinOConnor
parent 5989f7a8a6
commit 2b8dca5dbf
7 changed files with 86 additions and 129 deletions

View file

@ -56,6 +56,9 @@ max_temp: 130
sensor_pin: ar30
control_pin: ar32
z_offset: 1.15
samples: 3
sample_retract_dist: 2.
samples_result: median
[bed_mesh]
min_point: 10,10
@ -83,7 +86,4 @@ screw4: 10,190
screw4_name: read left screw
horizontal_move_z: 10.
speed: 50.
samples: 3
sample_retract_dist: 2.
samples_result: median
screw_thread: CW-M3