From 24b07fc36c607d726cce7bfd8574cf2cb66715dc Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 23 Oct 2013 21:06:18 +0300 Subject: [PATCH] Move output to a higher priority timer --- arducontrol/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arducontrol/output.c b/arducontrol/output.c index f961a43..b862ac3 100644 --- a/arducontrol/output.c +++ b/arducontrol/output.c @@ -18,7 +18,7 @@ void output_init(void) DDRD = (DDRD&0xF3)|0x0C; PORTD &= ~BIT(ENABLE); - timer_start_hz(0, 80000, 1); + timer_start_hz(2, 80000, 1); } void clear_packet(void) @@ -106,4 +106,4 @@ static inline void output_tick(void) } } -TIMER_SET_CALLBACK(0, output_tick) +TIMER_SET_CALLBACK(2, output_tick) -- 2.45.2