|
@@ -39,26 +39,20 @@
|
39
|
39
|
#define TEST2 1
|
40
|
40
|
#define TEST3 0
|
41
|
41
|
#define TEST4 true
|
42
|
|
-#if ENABLED(TEST0)
|
|
42
|
+#if ENABLED(TEST0) || !ENABLED(TEST2) || ENABLED(TEST3)
|
43
|
43
|
#error "ENABLED is borked!"
|
44
|
44
|
#endif
|
45
|
|
-#if DISABLED(TEST1)
|
46
|
|
- #error "DISABLED is borked!"
|
47
|
|
-#endif
|
48
|
|
-#if !ENABLED(TEST2)
|
49
|
|
- #error "ENABLED is borked!"
|
|
45
|
+#if BOTH(TEST0, TEST1)
|
|
46
|
+ #error "BOTH is borked!"
|
50
|
47
|
#endif
|
51
|
|
-#if ENABLED(TEST3)
|
52
|
|
- #error "ENABLED is borked!"
|
53
|
|
-#endif
|
54
|
|
-#if DISABLED(TEST4)
|
|
48
|
+#if DISABLED(TEST1) || !DISABLED(TEST3) || DISABLED(TEST4) || DISABLED(TEST0, TEST1, TEST2, TEST4) || !DISABLED(TEST0, TEST3)
|
55
|
49
|
#error "DISABLED is borked!"
|
56
|
50
|
#endif
|
57
|
51
|
#if !ANY(TEST1, TEST2, TEST3, TEST4) || ANY(TEST0, TEST3)
|
58
|
52
|
#error "ANY is borked!"
|
59
|
53
|
#endif
|
60
|
|
-#if DISABLED(TEST0, TEST1, TEST2, TEST4)
|
61
|
|
- #error "DISABLED is borked!"
|
|
54
|
+#if NONE(TEST0, TEST1, TEST2, TEST4) || !NONE(TEST0, TEST3)
|
|
55
|
+ #error "NONE is borked!"
|
62
|
56
|
#endif
|
63
|
57
|
#undef TEST1
|
64
|
58
|
#undef TEST2
|
|
@@ -2202,7 +2196,7 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
|
2202
|
2196
|
+ (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && DISABLED(IS_RRD_FG_SC)) \
|
2203
|
2197
|
+ (ENABLED(ULTRA_LCD) && DISABLED(IS_ULTRA_LCD)) \
|
2204
|
2198
|
+ (ENABLED(U8GLIB_SSD1306) && DISABLED(IS_U8GLIB_SSD1306)) \
|
2205
|
|
- + (ENABLED(MINIPANEL) && DISABLED(MKS_MINI_12864, ENDER2_STOCKDISPLAY)) \
|
|
2199
|
+ + (ENABLED(MINIPANEL) && NONE(MKS_MINI_12864, ENDER2_STOCKDISPLAY)) \
|
2206
|
2200
|
+ (ENABLED(MKS_MINI_12864) && DISABLED(MKS_LCD12864)) \
|
2207
|
2201
|
+ (ENABLED(EXTENSIBLE_UI) && DISABLED(IS_EXTUI)) \
|
2208
|
2202
|
+ (ENABLED(ULTIPANEL) && DISABLED(IS_ULTIPANEL)) \
|