Allows user to set (almost) any PWM frequency (#12638)

This commit is contained in:
Reece Kibble authored and Scott Lahteine committed 2019-03-08 02:15:42 -06:00
1 parent afbec5ff7e
commit dbead66988
80 files changed
+2314 -28

No files matched your search

+7
View File
@@ -1213,6 +1213,13 @@
#error "FAN_MIN_PWM must be less than or equal to FAN_MAX_PWM."
#endif
/**
* FAST PWM FAN Settings
*/
#if ENABLED(FAST_PWM_FAN) && !defined(FAST_PWM_FAN_FREQUENCY)
#define FAST_PWM_FAN_FREQUENCY ((F_CPU) / (2 * 255 * 1)) // Fan frequency default
#endif
/**
* Bed Probe dependencies
*/