Browse Source

Drop extraneous inlines

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
committed by Scott Lahteine
parent
commit
e4760ea2b0
  1. 8
      Marlin/src/lcd/menu/menu_bed_corners.cpp

8
Marlin/src/lcd/menu/menu_bed_corners.cpp

@ -102,7 +102,7 @@ static int8_t bed_corner;
/** /**
* Select next corner coordinates * Select next corner coordinates
*/ */
static inline void _lcd_level_bed_corners_get_next_position() { static void _lcd_level_bed_corners_get_next_position() {
if (level_corners_3_points) { if (level_corners_3_points) {
if (bed_corner >= available_points) bed_corner = 0; // Above max position -> move back to first corner 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() {
ui.goto_screen(_lcd_draw_probing); ui.goto_screen(_lcd_draw_probing);
do { do {
ui.refresh(LCDVIEW_REDRAW_NOW); ui.refresh(LCDVIEW_REDRAW_NOW);
_lcd_draw_probing(); // update screen with # of good points _lcd_draw_probing(); // update screen with # of good points
do_blocking_move_to_z(SUM_TERN(BLTOUCH_HS_MODE, current_position.z + LEVEL_CORNERS_Z_HOP, 7)); // clearance do_blocking_move_to_z(SUM_TERN(BLTOUCH_HS_MODE, current_position.z + LEVEL_CORNERS_Z_HOP, 7)); // clearance
_lcd_level_bed_corners_get_next_position(); // Select next corner coordinates _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() {
#else // !LEVEL_CORNERS_USE_PROBE #else // !LEVEL_CORNERS_USE_PROBE
static inline void _lcd_goto_next_corner() { static void _lcd_goto_next_corner() {
line_to_z(LEVEL_CORNERS_Z_HOP); line_to_z(LEVEL_CORNERS_Z_HOP);
// Select next corner coordinates // Select next corner coordinates
@ -321,7 +321,7 @@ static inline void _lcd_level_bed_corners_get_next_position() {
#endif // !LEVEL_CORNERS_USE_PROBE #endif // !LEVEL_CORNERS_USE_PROBE
static inline void _lcd_level_bed_corners_homing() { static void _lcd_level_bed_corners_homing() {
_lcd_draw_homing(); _lcd_draw_homing();
if (!all_axes_homed()) return; if (!all_axes_homed()) return;
#if ENABLED(LEVEL_CORNERS_USE_PROBE) #if ENABLED(LEVEL_CORNERS_USE_PROBE)

Loading…
Cancel
Save