Drop extraneous inlines
This commit is contained in:
parent
253ee0c407
commit
07cac80fb0
@ -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…
Reference in New Issue
Block a user