HW PWM sanity checks for SPINDLE_LASER_FREQUENCY (#18947)

This commit is contained in:
ellensp
2020-08-08 10:59:09 +12:00
committed by Scott Lahteine
parent cb18b858d4
commit 8d6a263c1c
11 changed files with 23 additions and 19 deletions

View File

@ -28,8 +28,8 @@
// #error "SPINDLE_LASER_PWM_PIN must use SERVO0, SERVO1 or SERVO3 connector"
//#endif
#if ENABLED(FAST_PWM_FAN)
#error "FAST_PWM_FAN is not yet implemented for this platform."
#if ENABLED(FAST_PWM_FAN) || SPINDLE_LASER_FREQUENCY
#error "Features requiring Hardware PWM (FAST_PWM_FAN, SPINDLE_LASER_FREQUENCY) are not yet supported on STM32."
#endif
#if ENABLED(SDCARD_EEPROM_EMULATION) && DISABLED(SDSUPPORT)