Browse Source

Drop extraneous inlines

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

6
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
@ -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