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:
+1
-1
@@ -738,8 +738,8 @@ void setupPulses()
|
|||||||
|
|
||||||
switch (required_protocol) {
|
switch (required_protocol) {
|
||||||
|
|
||||||
#if defined(DSM2_PPM)
|
|
||||||
case PROTO_DSM2:
|
case PROTO_DSM2:
|
||||||
|
#if defined(DSM2_PPM)
|
||||||
set_timer3_capture();
|
set_timer3_capture();
|
||||||
TCCR1B = 0; // Stop counter
|
TCCR1B = 0; // Stop counter
|
||||||
OCR1C = 200; // 100 uS
|
OCR1C = 200; // 100 uS
|
||||||
|
|||||||
Reference in New Issue
Block a user