Fix do_probe_move with fr_mm_s (#10576)
This commit is contained in:
parent
582dc7ef97
commit
1f92b9a4ed
|
@ -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";
|
const char msg_wait_for_bed_heating[25] PROGMEM = "Wait for bed heating...\n";
|
||||||
#endif
|
#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 ENABLED(DEBUG_LEVELING_FEATURE)
|
||||||
if (DEBUGGING(LEVELING)) DEBUG_POS(">>> do_probe_move", current_position);
|
if (DEBUGGING(LEVELING)) DEBUG_POS(">>> do_probe_move", current_position);
|
||||||
#endif
|
#endif
|
||||||
|
@ -512,7 +512,7 @@ static bool do_probe_move(const float z, const float fr_mm_m) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Move down until probe triggered
|
// 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
|
// Check to see if the probe was triggered
|
||||||
const bool probe_triggered = TEST(Endstops::endstop_hit_bits,
|
const bool probe_triggered = TEST(Endstops::endstop_hit_bits,
|
||||||
|
|
Loading…
Reference in a new issue