Browse Source

Remove unnecessary pin initialization in stepper.cpp

(duplicates initialization in Marlin_main.cpp)
pull/1/head
Robert F-C 12 years ago
parent
commit
289c02eda4
  1. 4
      Marlin/stepper.cpp

4
Marlin/stepper.cpp

@ -879,10 +879,6 @@ void st_init()
disable_e2();
#endif
#ifdef CONTROLLERFAN_PIN
SET_OUTPUT(CONTROLLERFAN_PIN); //Set pin used for driver cooling fan
#endif
// waveform generation = 0100 = CTC
TCCR1B &= ~(1<<WGM13);
TCCR1B |= (1<<WGM12);

Loading…
Cancel
Save