From 8e772f18b0c75bf47d74b3c2e0d87086b40a5195 Mon Sep 17 00:00:00 2001 From: "gruvin@gmail.com" Date: Wed, 24 Oct 2012 04:00:01 +0000 Subject: [PATCH] SOMEONE CHECK ME ON THIS PLEASE. I can't compile the current trunk code, due to some Python error. But the fix here is important. An #ifdefined was found to be in the wrong place in pulses_avr.cpp -- 99.999% certain. Am I right? --- src/pulses_avr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulses_avr.cpp b/src/pulses_avr.cpp index e148c565b..939ae26fa 100644 --- a/src/pulses_avr.cpp +++ b/src/pulses_avr.cpp @@ -738,8 +738,8 @@ void setupPulses() switch (required_protocol) { -#if defined(DSM2_PPM) case PROTO_DSM2: +#if defined(DSM2_PPM) set_timer3_capture(); TCCR1B = 0; // Stop counter OCR1C = 200; // 100 uS