|
@ -39,26 +39,20 @@ |
|
|
#define TEST2 1 |
|
|
#define TEST2 1 |
|
|
#define TEST3 0 |
|
|
#define TEST3 0 |
|
|
#define TEST4 true |
|
|
#define TEST4 true |
|
|
#if ENABLED(TEST0) |
|
|
#if ENABLED(TEST0) || !ENABLED(TEST2) || ENABLED(TEST3) |
|
|
#error "ENABLED is borked!" |
|
|
#error "ENABLED is borked!" |
|
|
#endif |
|
|
#endif |
|
|
#if DISABLED(TEST1) |
|
|
#if BOTH(TEST0, TEST1) |
|
|
#error "DISABLED is borked!" |
|
|
#error "BOTH is borked!" |
|
|
#endif |
|
|
|
|
|
#if !ENABLED(TEST2) |
|
|
|
|
|
#error "ENABLED is borked!" |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#if ENABLED(TEST3) |
|
|
#if DISABLED(TEST1) || !DISABLED(TEST3) || DISABLED(TEST4) || DISABLED(TEST0, TEST1, TEST2, TEST4) || !DISABLED(TEST0, TEST3) |
|
|
#error "ENABLED is borked!" |
|
|
|
|
|
#endif |
|
|
|
|
|
#if DISABLED(TEST4) |
|
|
|
|
|
#error "DISABLED is borked!" |
|
|
#error "DISABLED is borked!" |
|
|
#endif |
|
|
#endif |
|
|
#if !ANY(TEST1, TEST2, TEST3, TEST4) || ANY(TEST0, TEST3) |
|
|
#if !ANY(TEST1, TEST2, TEST3, TEST4) || ANY(TEST0, TEST3) |
|
|
#error "ANY is borked!" |
|
|
#error "ANY is borked!" |
|
|
#endif |
|
|
#endif |
|
|
#if DISABLED(TEST0, TEST1, TEST2, TEST4) |
|
|
#if NONE(TEST0, TEST1, TEST2, TEST4) || !NONE(TEST0, TEST3) |
|
|
#error "DISABLED is borked!" |
|
|
#error "NONE is borked!" |
|
|
#endif |
|
|
#endif |
|
|
#undef TEST1 |
|
|
#undef TEST1 |
|
|
#undef TEST2 |
|
|
#undef TEST2 |
|
@ -2202,7 +2196,7 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal |
|
|
+ (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && DISABLED(IS_RRD_FG_SC)) \ |
|
|
+ (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && DISABLED(IS_RRD_FG_SC)) \ |
|
|
+ (ENABLED(ULTRA_LCD) && DISABLED(IS_ULTRA_LCD)) \ |
|
|
+ (ENABLED(ULTRA_LCD) && DISABLED(IS_ULTRA_LCD)) \ |
|
|
+ (ENABLED(U8GLIB_SSD1306) && DISABLED(IS_U8GLIB_SSD1306)) \ |
|
|
+ (ENABLED(U8GLIB_SSD1306) && DISABLED(IS_U8GLIB_SSD1306)) \ |
|
|
+ (ENABLED(MINIPANEL) && DISABLED(MKS_MINI_12864, ENDER2_STOCKDISPLAY)) \ |
|
|
+ (ENABLED(MINIPANEL) && NONE(MKS_MINI_12864, ENDER2_STOCKDISPLAY)) \ |
|
|
+ (ENABLED(MKS_MINI_12864) && DISABLED(MKS_LCD12864)) \ |
|
|
+ (ENABLED(MKS_MINI_12864) && DISABLED(MKS_LCD12864)) \ |
|
|
+ (ENABLED(EXTENSIBLE_UI) && DISABLED(IS_EXTUI)) \ |
|
|
+ (ENABLED(EXTENSIBLE_UI) && DISABLED(IS_EXTUI)) \ |
|
|
+ (ENABLED(ULTIPANEL) && DISABLED(IS_ULTIPANEL)) \ |
|
|
+ (ENABLED(ULTIPANEL) && DISABLED(IS_ULTIPANEL)) \ |
|
|