timer.c: we never managed to recover from an emergency stop ...
... other than by pressing the reset button. Accordingly, save these 2 clock cycles at step interrupt time.
This commit is contained in:
parent
cfa4857550
commit
c8b0da53c1
3
timer.c
3
timer.c
|
|
@ -144,9 +144,6 @@ void setTimer(uint32_t delay)
|
|||
uint32_t earliest_time, actual_time;
|
||||
#endif /* ACCELERATION_TEMPORAL */
|
||||
|
||||
// re-enable clock interrupt in case we're recovering from emergency stop
|
||||
TIMSK1 |= MASK(OCIE1B);
|
||||
|
||||
// An interrupt would make all our timing calculations invalid,
|
||||
// so stop that here.
|
||||
cli();
|
||||
|
|
|
|||
Loading…
Reference in New Issue