Drop extraneous inlines

This commit is contained in:
Scott Lahteine 2021-04-16 04:28:16 -05:00 committed by Scott Lahteine
parent 61ee5b1d76
commit e4760ea2b0

View File

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