|
@@ -1605,7 +1605,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
1605
|
1605
|
/**
|
1606
|
1606
|
* LED Backlight Timeout
|
1607
|
1607
|
*/
|
1608
|
|
-#if defined(LED_BACKLIGHT_TIMEOUT) && !(EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1) && ENABLED(PSU_CONTROL))
|
|
1608
|
+#if defined(LED_BACKLIGHT_TIMEOUT) && !(ENABLED(PSU_CONTROL) && EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1))
|
1609
|
1609
|
#error "LED_BACKLIGHT_TIMEOUT requires a FYSETC Mini Panel and a Power Switch."
|
1610
|
1610
|
#endif
|
1611
|
1611
|
|
|
@@ -2486,6 +2486,8 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
2486
|
2486
|
#error "PSU_CONTROL requires PSU_ACTIVE_HIGH to be defined as 'true' or 'false'."
|
2487
|
2487
|
#elif !PIN_EXISTS(PS_ON)
|
2488
|
2488
|
#error "PSU_CONTROL requires PS_ON_PIN."
|
|
2489
|
+ #elif defined(PSU_POWERUP_DELAY) && ENABLED(AUTO_POWER_CONTROL)
|
|
2490
|
+ #error "PSU_POWERUP_DELAY has no effect with AUTO_POWER_CONTROL enabled."
|
2489
|
2491
|
#endif
|
2490
|
2492
|
#elif ENABLED(AUTO_POWER_CONTROL)
|
2491
|
2493
|
#error "AUTO_POWER_CONTROL requires PSU_CONTROL."
|