소스 검색

Revert "Edit STEPS_PER_MM integer only" (#14909)

This reverts commit 2d98bb39bd.
Tanguy Pruvot 5 년 전
부모
커밋
8cc0b4bf5e
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(float5, 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(float51, 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(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);
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);
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(float5, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning);
593
+      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning);
594 594
     #endif
595 595
 
596 596
     END_MENU();

Loading…
취소
저장