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 GitHub
parent da4eaebdc9
commit f2f1d8fa21
11 changed files with 23 additions and 19 deletions

View File

@ -59,6 +59,10 @@
*/
static_assert(!(NUM_SERVOS && ENABLED(FAST_PWM_FAN)), "BLTOUCH and Servos are incompatible with FAST_PWM_FAN on LPC176x boards.");
#if SPINDLE_LASER_FREQUENCY
static_assert(!NUM_SERVOS, "BLTOUCH and Servos are incompatible with SPINDLE_LASER_FREQUENCY on LPC176x boards.");
#endif
/**
* Test LPC176x-specific configuration values for errors at compile-time.
*/