🔧 Sanity-check AVR D9 Fan PWM / SPEAKER Timer2 (#23672)

This commit is contained in:
Mike La Spina
2022-02-04 10:45:34 -06:00
committed by Scott Lahteine
parent f8571fc18f
commit f42c1b4cae
2 changed files with 10 additions and 2 deletions

View File

@ -2018,7 +2018,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
#if CONTROLLER_FAN_PIN == FAN_PIN
#error "You cannot set CONTROLLER_FAN_PIN equal to FAN_PIN."
#elif ENABLED(FAN_SOFT_PWM_REQUIRED) && DISABLED(FAN_SOFT_PWM)
#error "FAN_SOFT_PWM is required. Enable it to continue."
#error "FAN_SOFT_PWM is required for your board. Enable it to continue."
#endif
#endif