Browse Source

Edit STEPS_PER_MM integer only

Scott Lahteine 5 years ago
parent
commit
2d98bb39bd
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/lcd/menu/menu_advanced.cpp

+ 4
- 4
Marlin/src/lcd/menu/menu_advanced.cpp View File

567
     START_MENU();
567
     START_MENU();
568
     MENU_BACK(MSG_ADVANCED_SETTINGS);
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
     EDIT_QSTEPS(A);
571
     EDIT_QSTEPS(A);
572
     EDIT_QSTEPS(B);
572
     EDIT_QSTEPS(B);
573
     EDIT_QSTEPS(C);
573
     EDIT_QSTEPS(C);
574
 
574
 
575
     #if ENABLED(DISTINCT_E_FACTORS)
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
       EDIT_ESTEPS(1,0);
578
       EDIT_ESTEPS(1,0);
579
       EDIT_ESTEPS(2,1);
579
       EDIT_ESTEPS(2,1);
580
       #if E_STEPPERS > 2
580
       #if E_STEPPERS > 2
590
         #endif // E_STEPPERS > 3
590
         #endif // E_STEPPERS > 3
591
       #endif // E_STEPPERS > 2
591
       #endif // E_STEPPERS > 2
592
     #elif E_STEPPERS
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
     #endif
594
     #endif
595
 
595
 
596
     END_MENU();
596
     END_MENU();

Loading…
Cancel
Save