diff --git a/timers.ino b/timers.ino index a898e27..1ee72cd 100644 --- a/timers.ino +++ b/timers.ino @@ -14,6 +14,10 @@ Timers are typically low resolution (Compared to Schedulers), with maximum frequ #include "globals.h" #include "sensors.h" +#if defined(CORE_AVR) + #include +#endif + void initialiseTimers() { #if defined(CORE_AVR) //AVR chips use the ISR for this @@ -26,6 +30,10 @@ void initialiseTimers() /* Now configure the prescaler to CPU clock divided by 128 = 125Khz */ TCCR2B |= (1<