From c8b0da53c16bb846d3c8474b8a9b70197654e896 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sat, 16 Nov 2013 17:28:37 +0100 Subject: [PATCH] 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. --- timer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/timer.c b/timer.c index 4daa690..ac59ba0 100644 --- a/timer.c +++ b/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();