|
@ -1985,7 +1985,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
/**
|
|
|
/**
|
|
|
* Auto Fan check for PWM pins |
|
|
* 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." |
|
|
#define AF_ERR_SUFF "_AUTO_FAN_PIN is not a PWM pin. Set EXTRUDER_AUTO_FAN_SPEED to 255." |
|
|
#if HAS_AUTO_FAN_0 |
|
|
#if HAS_AUTO_FAN_0 |
|
|
static_assert(PWM_PIN(E0_AUTO_FAN_PIN), "E0" AF_ERR_SUFF); |
|
|
static_assert(PWM_PIN(E0_AUTO_FAN_PIN), "E0" AF_ERR_SUFF); |
|
|