|
|
|
@ -376,6 +376,12 @@
|
|
|
|
|
#error "USB_SD_DISABLED is now NO_SD_HOST_DRIVE. Please update your Configuration_adv.h."
|
|
|
|
|
#elif defined(USB_SD_ONBOARD)
|
|
|
|
|
#error "USB_SD_ONBOARD is obsolete. Disable NO_SD_HOST_DRIVE instead."
|
|
|
|
|
#elif POWER_SUPPLY == 1
|
|
|
|
|
#error "Replace POWER_SUPPLY 1 by enabling PSU_CONTROL and setting PSU_ACTIVE_HIGH to 'false'."
|
|
|
|
|
#elif POWER_SUPPLY == 2
|
|
|
|
|
#error "Replace POWER_SUPPLY 2 by enabling PSU_CONTROL and setting PSU_ACTIVE_HIGH to 'true'."
|
|
|
|
|
#elif defined(POWER_SUPPLY)
|
|
|
|
|
#error "POWER_SUPPLY is now obsolete. Please remove it from Configuration.h."
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define BOARD_MKS_13 -47
|
|
|
|
@ -1548,7 +1554,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|
|
|
|
/**
|
|
|
|
|
* LED Backlight Timeout
|
|
|
|
|
*/
|
|
|
|
|
#if defined(LED_BACKLIGHT_TIMEOUT) && !(EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1) && POWER_SUPPLY > 0)
|
|
|
|
|
#if defined(LED_BACKLIGHT_TIMEOUT) && !(EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1) && HAS_POWER_SWITCH)
|
|
|
|
|
#error "LED_BACKLIGHT_TIMEOUT requires a Fysetc Mini Panel and a Power Switch."
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -2297,6 +2303,13 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Ensure this option is set intentionally
|
|
|
|
|
*/
|
|
|
|
|
#if ENABLED(PSU_CONTROL) && !defined(PSU_ACTIVE_HIGH)
|
|
|
|
|
#error "PSU_CONTROL requires PSU_ACTIVE_HIGH to be defined as 'true' or 'false'."
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAS_CUTTER
|
|
|
|
|
#define _PIN_CONFLICT(P) (PIN_EXISTS(P) && P##_PIN == SPINDLE_LASER_PWM_PIN)
|
|
|
|
|
#if BOTH(SPINDLE_FEATURE, LASER_FEATURE)
|
|
|
|
|