Browse Source

Fixed SL bug.

pull/1/head
ErikZalm 13 years ago
parent
commit
9e1021efbe
  1. 8
      Marlin/Marlin.pde

8
Marlin/Marlin.pde

@ -1524,16 +1524,16 @@ void setPwmFrequency(uint8_t pin, int val)
#if defined(TCCR0A)
case TIMER0A:
case TIMER0B:
TCCR0B &= ~(CS00 | CS01 | CS02);
TCCR0B |= val;
// TCCR0B &= ~(CS00 | CS01 | CS02);
// TCCR0B |= val;
break;
#endif
#if defined(TCCR1A)
case TIMER1A:
case TIMER1B:
TCCR1B &= ~(CS10 | CS11 | CS12);
TCCR1B |= val;
// TCCR1B &= ~(CS10 | CS11 | CS12);
// TCCR1B |= val;
break;
#endif

Loading…
Cancel
Save