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:
Markus Hitter 2013-11-16 17:28:37 +01:00
parent cfa4857550
commit c8b0da53c1
1 changed files with 0 additions and 3 deletions

View File

@ -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();