Browse Source

Drop extraneous inlines

Scott Lahteine 4 years ago
parent
commit
07cac80fb0
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/lcd/menu/menu_bed_corners.cpp

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

102
 /**
102
 /**
103
  * Select next corner coordinates
103
  * Select next corner coordinates
104
  */
104
  */
105
-static inline void _lcd_level_bed_corners_get_next_position() {
105
+static void _lcd_level_bed_corners_get_next_position() {
106
 
106
 
107
   if (level_corners_3_points) {
107
   if (level_corners_3_points) {
108
     if (bed_corner >= available_points) bed_corner = 0; // Above max position -> move back to first corner
108
     if (bed_corner >= available_points) bed_corner = 0; // Above max position -> move back to first corner
268
     ui.goto_screen(_lcd_draw_probing);
268
     ui.goto_screen(_lcd_draw_probing);
269
     do {
269
     do {
270
       ui.refresh(LCDVIEW_REDRAW_NOW);
270
       ui.refresh(LCDVIEW_REDRAW_NOW);
271
-      _lcd_draw_probing();                                             // update screen with # of good points
271
+      _lcd_draw_probing();                                // update screen with # of good points
272
       do_blocking_move_to_z(SUM_TERN(BLTOUCH_HS_MODE, current_position.z + LEVEL_CORNERS_Z_HOP, 7)); // clearance
272
       do_blocking_move_to_z(SUM_TERN(BLTOUCH_HS_MODE, current_position.z + LEVEL_CORNERS_Z_HOP, 7)); // clearance
273
 
273
 
274
       _lcd_level_bed_corners_get_next_position();         // Select next corner coordinates
274
       _lcd_level_bed_corners_get_next_position();         // Select next corner coordinates
308
 
308
 
309
 #else // !LEVEL_CORNERS_USE_PROBE
309
 #else // !LEVEL_CORNERS_USE_PROBE
310
 
310
 
311
-  static inline void _lcd_goto_next_corner() {
311
+  static void _lcd_goto_next_corner() {
312
     line_to_z(LEVEL_CORNERS_Z_HOP);
312
     line_to_z(LEVEL_CORNERS_Z_HOP);
313
 
313
 
314
     // Select next corner coordinates
314
     // Select next corner coordinates
321
 
321
 
322
 #endif // !LEVEL_CORNERS_USE_PROBE
322
 #endif // !LEVEL_CORNERS_USE_PROBE
323
 
323
 
324
-static inline void _lcd_level_bed_corners_homing() {
324
+static void _lcd_level_bed_corners_homing() {
325
   _lcd_draw_homing();
325
   _lcd_draw_homing();
326
   if (!all_axes_homed()) return;
326
   if (!all_axes_homed()) return;
327
   #if ENABLED(LEVEL_CORNERS_USE_PROBE)
327
   #if ENABLED(LEVEL_CORNERS_USE_PROBE)

Loading…
Cancel
Save