Remove unnecessary pin initialization in stepper.cpp

(duplicates initialization in Marlin_main.cpp)
This commit is contained in:
Robert F-C 2013-04-30 01:11:23 +10:00
parent d5ad7a0814
commit 289c02eda4

View file

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