diff --git a/src/pulses_avr.cpp b/src/pulses_avr.cpp index 848c9dba0..b3aadbc2f 100644 --- a/src/pulses_avr.cpp +++ b/src/pulses_avr.cpp @@ -61,37 +61,29 @@ void set_timer3_ppm( void ) ; void startPulses() { -#ifdef SIMU - s_current_protocol = g_model.protocol; -#else - setupPulses(); - #ifdef DSM2_SERIAL if (g_model.protocol != PROTO_DSM2) #endif { #if defined(PCBV4) + // TODO g: There has to be a better place for this bug fix OCR1B = 0xffff; /* Prevent any PPM_PUT pin toggle before the TCNT1 interrupt - fires for the first time and sets up the pulse period. */ - // TCCR1A |= (1<