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:
oni303
2012-12-16 01:36:57 +01:00
parent 83ea7dc5b9
commit ab09fa4bbf
3 changed files with 22 additions and 0 deletions

View File

@ -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