Browse Source

Fix compiler error

Added missing include file,
called 'leveling_is_active()' with no prototipe defined.
GMagician 6 years ago
parent
commit
c508e9adec
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/module/tool_change.cpp

+ 4
- 0
Marlin/src/module/tool_change.cpp View File

@@ -46,6 +46,10 @@
46 46
   #include "../feature/mixing.h"
47 47
 #endif
48 48
 
49
+#if HAS_LEVELING
50
+  #include "../feature/bedlevel/bedlevel.h"
51
+#endif
52
+
49 53
 #if ENABLED(SWITCHING_EXTRUDER)
50 54
 
51 55
   #if EXTRUDERS > 3

Loading…
Cancel
Save