Fix do_probe_move with fr_mm_s (#10576)

This commit is contained in:
MagoKimbra 2018-04-30 23:28:20 +02:00 committed by Scott Lahteine
parent 582dc7ef97
commit 1f92b9a4ed

View file

@ -487,7 +487,7 @@ bool set_probe_deployed(const bool deploy) {
const char msg_wait_for_bed_heating[25] PROGMEM = "Wait for bed heating...\n";
#endif
static bool do_probe_move(const float z, const float fr_mm_m) {
static bool do_probe_move(const float z, const float fr_mm_s) {
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) DEBUG_POS(">>> do_probe_move", current_position);
#endif
@ -512,7 +512,7 @@ static bool do_probe_move(const float z, const float fr_mm_m) {
#endif
// Move down until probe triggered
do_blocking_move_to_z(z, MMM_TO_MMS(fr_mm_m));
do_blocking_move_to_z(z, fr_mm_s);
// Check to see if the probe was triggered
const bool probe_triggered = TEST(Endstops::endstop_hit_bits,