Remove unnecessary pin initialization in stepper.cpp
(duplicates initialization in Marlin_main.cpp)
This commit is contained in:
parent
d5ad7a0814
commit
289c02eda4
1 changed files with 10 additions and 14 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue