Ver código fonte

Extend existing MESH_BED_LEVELING test

Scott Lahteine 9 anos atrás
pai
commit
042a6a0a37
1 arquivos alterados com 3 adições e 6 exclusões
  1. 3
    6
      Marlin/SanityCheck.h

+ 3
- 6
Marlin/SanityCheck.h Ver arquivo

@@ -110,13 +110,8 @@
110 110
 #endif
111 111
 
112 112
 /**
113
- * Manual Bed Leveling
113
+ * Mesh 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 116
 #if ENABLED(MESH_BED_LEVELING)
122 117
   #if ENABLED(DELTA)
@@ -128,6 +123,8 @@
128 123
   #if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
129 124
     #error MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8.
130 125
   #endif
126
+#elif ENABLED(MANUAL_BED_LEVELING)
127
+  #error MESH_BED_LEVELING is required for MANUAL_BED_LEVELING.
131 128
 #endif
132 129
 
133 130
 /**

Carregando…
Cancelar
Salvar