added back a line that was not really refactoring debris come to think of it
This commit is contained in:
parent
01ad93fbed
commit
48855ec977
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user