|
|
|
@ -270,6 +270,10 @@
|
|
|
|
|
#error "Replace SLED_PIN with SOL1_PIN (applies to both Z_PROBE_SLED and SOLENOID_PROBE)."
|
|
|
|
|
#elif defined(CONTROLLERFAN_PIN)
|
|
|
|
|
#error "CONTROLLERFAN_PIN is now CONTROLLER_FAN_PIN, enabled with USE_CONTROLLER_FAN. Please update your Configuration_adv.h."
|
|
|
|
|
#elif defined(CONTROLLERFAN_SPEED)
|
|
|
|
|
#error "CONTROLLERFAN_SPEED is now CONTROLLERFAN_SPEED_ACTIVE. Please update your Configuration_adv.h."
|
|
|
|
|
#elif defined(CONTROLLERFAN_SECS)
|
|
|
|
|
#error "CONTROLLERFAN_SECS is now CONTROLLERFAN_IDLE_TIME. Please update your Configuration_adv.h."
|
|
|
|
|
#elif defined(MIN_RETRACT)
|
|
|
|
|
#error "MIN_RETRACT is now MIN_AUTORETRACT and MAX_AUTORETRACT. Please update your Configuration_adv.h."
|
|
|
|
|
#elif defined(ADVANCE)
|
|
|
|
@ -1983,7 +1987,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|
|
|
|
/**
|
|
|
|
|
* Auto Fan check for PWM pins
|
|
|
|
|
*/
|
|
|
|
|
#if HAS_AUTO_FAN && EXTRUDER_AUTO_FAN_SPEED != 255
|
|
|
|
|
#if HAS_AUTO_FAN && EXTRUDER_AUTO_FAN_SPEED != 255 && DISABLED(NO_COMPILE_TIME_PWM)
|
|
|
|
|
#define AF_ERR_SUFF "_AUTO_FAN_PIN is not a PWM pin. Set EXTRUDER_AUTO_FAN_SPEED to 255."
|
|
|
|
|
#if HAS_AUTO_FAN_0
|
|
|
|
|
static_assert(PWM_PIN(E0_AUTO_FAN_PIN), "E0" AF_ERR_SUFF);
|
|
|
|
@ -2649,14 +2653,14 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(BACKLASH_COMPENSATION)
|
|
|
|
|
#if IS_CORE
|
|
|
|
|
#error "BACKLASH_COMPENSATION is incompatible with CORE kinematics."
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef BACKLASH_DISTANCE_MM
|
|
|
|
|
#error "BACKLASH_COMPENSATION requires BACKLASH_DISTANCE_MM"
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef BACKLASH_CORRECTION
|
|
|
|
|
#elif !defined(BACKLASH_CORRECTION)
|
|
|
|
|
#error "BACKLASH_COMPENSATION requires BACKLASH_CORRECTION"
|
|
|
|
|
#elif IS_CORE
|
|
|
|
|
constexpr float backlash_arr[] = BACKLASH_DISTANCE_MM;
|
|
|
|
|
static_assert(!backlash_arr[CORE_AXIS_1] && !backlash_arr[CORE_AXIS_2],
|
|
|
|
|
"BACKLASH_COMPENSATION can only apply to " STRINGIFY(NORMAL_AXIS) " with your CORE system.");
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|