瀏覽代碼

Tweak G29 faux point

Scott Lahteine 5 年之前
父節點
當前提交
ab0fe1a7dd
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/gcode/bedlevel/abl/G29.cpp

+ 1
- 1
Marlin/src/gcode/bedlevel/abl/G29.cpp 查看文件

@@ -725,7 +725,7 @@ G29_TYPE GcodeSuite::G29() {
725 725
             ui.status_printf_P(0, PSTR(S_FMT " %i/%i"), GET_TEXT(MSG_PROBING_MESH), int(pt_index), int(GRID_MAX_POINTS));
726 726
           #endif
727 727
 
728
-          measured_z = faux ? 0.001 * random(-100, 101) : probe_at_point(probePos, raise_after, verbose_level);
728
+          measured_z = faux ? 0.001f * random(-100, 101) : probe_at_point(probePos, raise_after, verbose_level);
729 729
 
730 730
           if (isnan(measured_z)) {
731 731
             set_bed_leveling_enabled(abl_should_enable);

Loading…
取消
儲存