From 2221cce51a713bddf4547165f6f935deed6958e0 Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 30 May 2012 14:46:51 +0000 Subject: [PATCH] Some pulses correction on V4 --- src/pulses_avr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pulses_avr.cpp b/src/pulses_avr.cpp index 9bc27b75c..e12463cef 100644 --- a/src/pulses_avr.cpp +++ b/src/pulses_avr.cpp @@ -717,7 +717,7 @@ void setupPulses() #if defined(PCBV4) TIMSK1 &= ~0x3C; // All interrupts off TIFR1 = 0x2F; - TIMSK1 |= 0x28; // Enable CAPT and COMPB + TIMSK1 |= 0x28; // Enable CAPT and COMPC #else TIMSK &= ~0x3C; // All interrupts off TIFR = 0x3C; @@ -760,7 +760,7 @@ void setupPulses() TCNT1 = 0 ; #if defined(PCBV4) TIMSK1 &= ~0x3C; // All interrupts off - TIMSK3 &= ~(1<