From 47fc05c25e3cbd3a84c8728fb281994dc045d61b Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Thu, 22 Nov 2012 09:51:20 +0000 Subject: [PATCH] DSM2=PPM was rendered unsafe by a change in r1579:1015 aiming to reduce latency a bit too much --- 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 2931c1ae8..2e0341171 100644 --- a/src/pulses_avr.cpp +++ b/src/pulses_avr.cpp @@ -1002,7 +1002,7 @@ ISR(TIMER1_COMPC_vect) // DSM2_PPM or PXX end of frame #if defined(DSM2_PPM) ICR1 = 41536 ; // next frame starts in 22ms 41536 = 2*(22000 - 14*11*8) if (OCR1C < 255) { - OCR1C = 41000; // delay setup pulses by 20.5ms to reduce system latency + OCR1C = 39000; // delay setup pulses by 19.5ms to reduce system latency } else { OCR1C = 200;