TIFR disabled, we use async EEPROM write!

This commit is contained in:
bsongis
2012-01-22 11:28:42 +00:00
parent e4d0f37b14
commit 1f84c10b50
+2 -2
View File
@@ -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);