🐛 Fix, improve PWM on AVR (#23463)

This commit is contained in:
Mike La Spina
2022-01-12 17:28:53 -06:00
committed by Scott Lahteine
parent 0204547c09
commit 39e4310c7b
7 changed files with 131 additions and 189 deletions

View File

@ -677,11 +677,6 @@
#define CUTTER_UNIT_IS(V) (_CUTTER_POWER(CUTTER_POWER_UNIT) == _CUTTER_POWER(V))
#endif
// Add features that need hardware PWM here
#if ANY(FAST_PWM_FAN, SPINDLE_LASER_USE_PWM)
#define NEEDS_HARDWARE_PWM 1
#endif
#if !defined(__AVR__) || !defined(USBCON)
// Define constants and variables for buffering serial data.
// Use only 0 or powers of 2 greater than 1