From 1f84c10b50756446cc6dbef927fa41132fe348f1 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sun, 22 Jan 2012 11:28:42 +0000 Subject: [PATCH] TIFR disabled, we use async EEPROM write! --- src/pulses.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulses.cpp b/src/pulses.cpp index 1be617ed9..10395decd 100644 --- a/src/pulses.cpp +++ b/src/pulses.cpp @@ -555,7 +555,7 @@ void setupPulses() TIMSK1 |= 0x28; // Enable CAPT and COMPB #else TIMSK &= ~0x3C; // All interrupts off - TIFR = 0x3C; // Clear all pending interrupts + // TIFR = 0x3C; // Clear all pending interrupts TIMSK |= 0x28; // Enable CAPT and COMPB #endif TCCR1A = (0 << WGM10); @@ -579,7 +579,7 @@ void setupPulses() TIMSK1 |= 0x10; // Enable COMPA #else TIMSK &= ~0x3C; // All interrupts off - TIFR = 0x3C; // Clear all pending interrupts + // TIFR = 0x3C; // Clear all pending interrupts TIMSK |= 0x10; // Enable COMPA #endif TCCR1A = (0 << WGM10);