Added option to increase the FAN PWM frequency.
This commit is contained in:
parent
6a5a34e0ff
commit
1874cb71a6
4 changed files with 82 additions and 1 deletions
|
|
@ -559,6 +559,9 @@ void tp_init()
|
|||
#endif
|
||||
#if (FAN_PIN > -1)
|
||||
SET_OUTPUT(FAN_PIN);
|
||||
#ifdef FAST_PWM_FAN
|
||||
setPwmFrequency(FAN_PIN, 1); // No prescaling. Pwm frequency = F_CPU/256/8
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HEATER_0_USES_MAX6675
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue