added back a line that was not really refactoring debris come to think of it

This commit is contained in:
Simen Svale Skogsrud 2010-03-03 22:11:50 +01:00
parent 01ad93fbed
commit 48855ec977

View File

@ -176,10 +176,11 @@ void st_init()
// Configure Timer 2 // Configure Timer 2
TCCR2A = 0; // Normal operation TCCR2A = 0; // Normal operation
TCCR2B = (1<<CS21); // Full speed, 1/8 prescaler TCCR2B = (1<<CS21); // Full speed, 1/8 prescaler
TIMSK2 = 0; // All interrupts disabled
TIMSK2 |= (1<<TOIE2); TIMSK2 |= (1<<TOIE2);
// set enable pin
// Just ste the step_timer to something serviceably lazy
config_step_timer(20000);
// set enable pin
STEPPERS_ENABLE_PORT |= 1<<STEPPERS_ENABLE_BIT; STEPPERS_ENABLE_PORT |= 1<<STEPPERS_ENABLE_BIT;
sei(); sei();