浏览代码

Drop extraneous inlines

Scott Lahteine 4 年前
父节点
当前提交
07cac80fb0
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      Marlin/src/lcd/menu/menu_bed_corners.cpp

+ 4
- 4
Marlin/src/lcd/menu/menu_bed_corners.cpp 查看文件

@@ -102,7 +102,7 @@ static int8_t bed_corner;
102 102
 /**
103 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 107
   if (level_corners_3_points) {
108 108
     if (bed_corner >= available_points) bed_corner = 0; // Above max position -> move back to first corner
@@ -268,7 +268,7 @@ static inline void _lcd_level_bed_corners_get_next_position() {
268 268
     ui.goto_screen(_lcd_draw_probing);
269 269
     do {
270 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 272
       do_blocking_move_to_z(SUM_TERN(BLTOUCH_HS_MODE, current_position.z + LEVEL_CORNERS_Z_HOP, 7)); // clearance
273 273
 
274 274
       _lcd_level_bed_corners_get_next_position();         // Select next corner coordinates
@@ -308,7 +308,7 @@ static inline void _lcd_level_bed_corners_get_next_position() {
308 308
 
309 309
 #else // !LEVEL_CORNERS_USE_PROBE
310 310
 
311
-  static inline void _lcd_goto_next_corner() {
311
+  static void _lcd_goto_next_corner() {
312 312
     line_to_z(LEVEL_CORNERS_Z_HOP);
313 313
 
314 314
     // Select next corner coordinates
@@ -321,7 +321,7 @@ static inline void _lcd_level_bed_corners_get_next_position() {
321 321
 
322 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 325
   _lcd_draw_homing();
326 326
   if (!all_axes_homed()) return;
327 327
   #if ENABLED(LEVEL_CORNERS_USE_PROBE)

正在加载...
取消
保存