Make G29 shared function inline

This commit is contained in:
Scott Lahteine 2015-03-29 23:21:39 -07:00
parent d73b169de3
commit e96db1cd6c

View File

@ -2011,7 +2011,7 @@ inline void gcode_G28() {
#if defined(MESH_BED_LEVELING) || defined(ENABLE_AUTO_BED_LEVELING) #if defined(MESH_BED_LEVELING) || defined(ENABLE_AUTO_BED_LEVELING)
// Check for known positions in X and Y // 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; if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS]) return true;
LCD_MESSAGEPGM(MSG_POSITION_UNKNOWN); LCD_MESSAGEPGM(MSG_POSITION_UNKNOWN);
SERIAL_ECHO_START; SERIAL_ECHO_START;