fixed pwm generation at pin D12 and D13 when one of them is used as FAN_PIN on Sanguino, added soft pwm entry for FAN_PIN in temperature.cpp
This commit is contained in:
parent
83ea7dc5b9
commit
ab09fa4bbf
3 changed files with 22 additions and 0 deletions
|
|
@ -709,6 +709,9 @@
|
|||
#define LED_PIN -1
|
||||
|
||||
#define FAN_PIN -1
|
||||
#if FAN_PIN == 12 || FAN_PIN ==13
|
||||
#define FAN_SOFT_PWM
|
||||
#endif
|
||||
|
||||
#ifdef MELZI
|
||||
#define LED_PIN 28
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue