浏览代码

Edit STEPS_PER_MM integer only

Scott Lahteine 5 年前
父节点
当前提交
2d98bb39bd
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      Marlin/src/lcd/menu/menu_advanced.cpp

+ 4
- 4
Marlin/src/lcd/menu/menu_advanced.cpp 查看文件

@@ -567,14 +567,14 @@ void menu_backlash();
567 567
     START_MENU();
568 568
     MENU_BACK(MSG_ADVANCED_SETTINGS);
569 569
 
570
-    #define EDIT_QSTEPS(Q) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_##Q##STEPS, &planner.settings.axis_steps_per_mm[_AXIS(Q)], 5, 9999, _planner_refresh_positioning)
570
+    #define EDIT_QSTEPS(Q) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float5, MSG_##Q##STEPS, &planner.settings.axis_steps_per_mm[_AXIS(Q)], 5, 9999, _planner_refresh_positioning)
571 571
     EDIT_QSTEPS(A);
572 572
     EDIT_QSTEPS(B);
573 573
     EDIT_QSTEPS(C);
574 574
 
575 575
     #if ENABLED(DISTINCT_E_FACTORS)
576
-      #define EDIT_ESTEPS(N,E) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_E##N##STEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(E)], 5, 9999, _planner_refresh_e##E##_positioning)
577
-      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(active_extruder)], 5, 9999, _planner_refresh_positioning);
576
+      #define EDIT_ESTEPS(N,E) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float5, MSG_E##N##STEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(E)], 5, 9999, _planner_refresh_e##E##_positioning)
577
+      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float5, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(active_extruder)], 5, 9999, _planner_refresh_positioning);
578 578
       EDIT_ESTEPS(1,0);
579 579
       EDIT_ESTEPS(2,1);
580 580
       #if E_STEPPERS > 2
@@ -590,7 +590,7 @@ void menu_backlash();
590 590
         #endif // E_STEPPERS > 3
591 591
       #endif // E_STEPPERS > 2
592 592
     #elif E_STEPPERS
593
-      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning);
593
+      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float5, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning);
594 594
     #endif
595 595
 
596 596
     END_MENU();

正在加载...
取消
保存