Browse Source

Make G29 shared function inline

Scott Lahteine 10 years ago
parent
commit
e96db1cd6c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -2011,7 +2011,7 @@ inline void gcode_G28() {
2011 2011
 #if defined(MESH_BED_LEVELING) || defined(ENABLE_AUTO_BED_LEVELING)
2012 2012
 
2013 2013
   // Check for known positions in X and Y
2014
-  bool can_run_bed_leveling() {
2014
+  inline bool can_run_bed_leveling() {
2015 2015
   	if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS]) return true;
2016 2016
     LCD_MESSAGEPGM(MSG_POSITION_UNKNOWN);
2017 2017
     SERIAL_ECHO_START;

Loading…
Cancel
Save