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