From e96db1cd6c0eeace4aeb15f05ace080c20080faa Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 29 Mar 2015 23:21:39 -0700 Subject: [PATCH] Make G29 shared function inline --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 29d5266285..d92f2ae8c5 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2011,7 +2011,7 @@ inline void gcode_G28() { #if defined(MESH_BED_LEVELING) || defined(ENABLE_AUTO_BED_LEVELING) // Check for known positions in X and Y - bool can_run_bed_leveling() { + inline bool can_run_bed_leveling() { if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS]) return true; LCD_MESSAGEPGM(MSG_POSITION_UNKNOWN); SERIAL_ECHO_START;