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?
This commit is contained in:
gruvin@gmail.com
2012-10-24 04:00:01 +00:00
parent 527517207e
commit 8e772f18b0
+1 -1
View File
@@ -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