Pārlūkot izejas kodu

Update MBL menu sub-function names

Scott Lahteine 8 gadus atpakaļ
vecāks
revīzija
771ee1c1a9
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4
    4
      Marlin/ultralcd.cpp

+ 4
- 4
Marlin/ultralcd.cpp Parādīt failu

@@ -2482,7 +2482,7 @@ char* ftostr52(const float& x) {
2482 2482
    *   - Movement adjusts the Z axis
2483 2483
    *   - Click saves the Z and goes to the next mesh point
2484 2484
    */
2485
-  static void _lcd_level_bed() {
2485
+  static void _lcd_level_bed_procedure() {
2486 2486
     static bool mbl_wait_for_move = false;
2487 2487
     // Menu handlers may be called in a re-entrant fashion
2488 2488
     // if they call st_synchronize or plan_buffer_line. So
@@ -2570,7 +2570,7 @@ char* ftostr52(const float& x) {
2570 2570
       current_position[Y_AXIS] = MESH_MIN_Y;
2571 2571
       line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
2572 2572
       _lcd_level_bed_position = 0;
2573
-      lcd_goto_menu(_lcd_level_bed, true);
2573
+      lcd_goto_menu(_lcd_level_bed_procedure, true);
2574 2574
     }
2575 2575
   }
2576 2576
 
@@ -2587,7 +2587,7 @@ char* ftostr52(const float& x) {
2587 2587
   /**
2588 2588
    * MBL Continue Bed Leveling...
2589 2589
    */
2590
-  static void lcd_level_bed_continue() {
2590
+  static void _lcd_level_bed_continue() {
2591 2591
     defer_return_to_status = true;
2592 2592
     axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false;
2593 2593
     mbl.reset();
@@ -2601,7 +2601,7 @@ char* ftostr52(const float& x) {
2601 2601
   static void lcd_level_bed() {
2602 2602
     START_MENU();
2603 2603
     MENU_ITEM(back, "Cancel", lcd_prepare_menu);
2604
-    MENU_ITEM(submenu, MSG_LEVEL_BED, lcd_level_bed_continue);
2604
+    MENU_ITEM(submenu, MSG_LEVEL_BED, _lcd_level_bed_continue);
2605 2605
     END_MENU();
2606 2606
   }
2607 2607
 

Notiek ielāde…
Atcelt
Saglabāt