Pārlūkot izejas kodu

Update MBL menu sub-function names

Scott Lahteine 9 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
    *   - Movement adjusts the Z axis
2482
    *   - Movement adjusts the Z axis
2483
    *   - Click saves the Z and goes to the next mesh point
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
     static bool mbl_wait_for_move = false;
2486
     static bool mbl_wait_for_move = false;
2487
     // Menu handlers may be called in a re-entrant fashion
2487
     // Menu handlers may be called in a re-entrant fashion
2488
     // if they call st_synchronize or plan_buffer_line. So
2488
     // if they call st_synchronize or plan_buffer_line. So
2570
       current_position[Y_AXIS] = MESH_MIN_Y;
2570
       current_position[Y_AXIS] = MESH_MIN_Y;
2571
       line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
2571
       line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
2572
       _lcd_level_bed_position = 0;
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
   /**
2587
   /**
2588
    * MBL Continue Bed Leveling...
2588
    * MBL Continue Bed Leveling...
2589
    */
2589
    */
2590
-  static void lcd_level_bed_continue() {
2590
+  static void _lcd_level_bed_continue() {
2591
     defer_return_to_status = true;
2591
     defer_return_to_status = true;
2592
     axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false;
2592
     axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false;
2593
     mbl.reset();
2593
     mbl.reset();
2601
   static void lcd_level_bed() {
2601
   static void lcd_level_bed() {
2602
     START_MENU();
2602
     START_MENU();
2603
     MENU_ITEM(back, "Cancel", lcd_prepare_menu);
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
     END_MENU();
2605
     END_MENU();
2606
   }
2606
   }
2607
 
2607
 

Notiek ielāde…
Atcelt
Saglabāt