Sfoglia il codice sorgente

Fix do_probe_move with fr_mm_s (#10576)

MagoKimbra 7 anni fa
parent
commit
1f92b9a4ed
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/src/module/probe.cpp

+ 2
- 2
Marlin/src/module/probe.cpp Vedi File

487
   const char msg_wait_for_bed_heating[25] PROGMEM = "Wait for bed heating...\n";
487
   const char msg_wait_for_bed_heating[25] PROGMEM = "Wait for bed heating...\n";
488
 #endif
488
 #endif
489
 
489
 
490
-static bool do_probe_move(const float z, const float fr_mm_m) {
490
+static bool do_probe_move(const float z, const float fr_mm_s) {
491
   #if ENABLED(DEBUG_LEVELING_FEATURE)
491
   #if ENABLED(DEBUG_LEVELING_FEATURE)
492
     if (DEBUGGING(LEVELING)) DEBUG_POS(">>> do_probe_move", current_position);
492
     if (DEBUGGING(LEVELING)) DEBUG_POS(">>> do_probe_move", current_position);
493
   #endif
493
   #endif
512
   #endif
512
   #endif
513
 
513
 
514
   // Move down until probe triggered
514
   // Move down until probe triggered
515
-  do_blocking_move_to_z(z, MMM_TO_MMS(fr_mm_m));
515
+  do_blocking_move_to_z(z, fr_mm_s);
516
 
516
 
517
   // Check to see if the probe was triggered
517
   // Check to see if the probe was triggered
518
   const bool probe_triggered = TEST(Endstops::endstop_hit_bits,
518
   const bool probe_triggered = TEST(Endstops::endstop_hit_bits,

Loading…
Annulla
Salva