From e06d75a5fd729fc8e2c15873c437f2c9c9ce0f58 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 18 Jan 2016 22:02:18 +0100 Subject: [PATCH] changed --- src/time.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/time.cpp b/src/time.cpp index 7c3282b..b2d7f80 100644 --- a/src/time.cpp +++ b/src/time.cpp @@ -5,7 +5,8 @@ * Author: wn */ #include -#include +// #include +#include #include #include "time.h" @@ -18,7 +19,8 @@ uint16_t pwmVal = 128; volatile uint16_t onTime = 500; volatile uint16_t offTime = 200; -ISR(TIMER0_A0, TA0_ISR) { +// ISR(TIMER0_A0, TA0_ISR) { +interrupt (TIMER0_A0_VECTOR) timer0a0_isr(void) { tickCnt++; static uint8_t state0 = 0;