Sfoglia il codice sorgente

sanity check for MANUAL_BED_LEVELING

esenapaj 9 anni fa
parent
commit
08b3147791
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7
    1
      Marlin/SanityCheck.h

+ 7
- 1
Marlin/SanityCheck.h Vedi File

@@ -110,8 +110,14 @@
110 110
 #endif
111 111
 
112 112
 /**
113
- * Mesh Bed Leveling
113
+ * Manual Bed Leveling
114 114
  */
115
+#if ENABLED(MANUAL_BED_LEVELING)
116
+  #if DISABLED(MESH_BED_LEVELING)
117
+    #error MESH_BED_LEVELING is required for MANUAL_BED_LEVELING.
118
+  #endif
119
+#endif
120
+
115 121
 #if ENABLED(MESH_BED_LEVELING)
116 122
   #if ENABLED(DELTA)
117 123
     #error MESH_BED_LEVELING does not yet support DELTA printers.

Loading…
Annulla
Salva