From a90a12297414f7d3bbec8d7e23f005a2c2f30d95 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 16 Feb 2016 17:17:52 +0100 Subject: [PATCH] fix isr footprint --- src/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine.cpp b/src/engine.cpp index 5ac76b7..352ace9 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -5,7 +5,7 @@ * Author: wn */ #include -#include +#include #include #include "engine.h" @@ -23,7 +23,7 @@ volatile uint32_t offTime = 0; volatile uint32_t millis = 0; const uint32_t DIVIDER_MILLIS = 20; -interrupt (TIMER0_A0_VECTOR) timer0a0_isr(void) { +ISR(TIMER0_A0, timer0a0_isr) { static uint8_t state = 0; static uint32_t timestamp = 0;