80,9 → 80,11 |
// disable all interrupts before reconfiguration |
cli(); |
|
// PPM-signal is connected to the Input Capture Pin (PD6) of timer 1 |
DDRD &= ~(1<<DDD6); |
PORTD |= (1<<PORTD6); |
#ifndef USE_RC_JENNIC // LPD: FC_JN_Receiver support added |
// PPM-signal is connected to the Input Capture Pin (PD6) of timer 1 |
DDRD &= ~(1<<DDD6); |
PORTD |= (1<<PORTD6); |
#endif |
|
// Channel 5,6,7 is decoded to servo signals at pin PD5 (J3), PD4(J4), PD3(J5) |
// set as output |
156,6 → 158,7 |
the syncronization gap. |
*/ |
|
#ifndef USE_RC_JENNIC // LPD: FC_JN_Receiver support added |
#ifndef ACT_S3D_SUMSIGNAL |
|
ISR(TIMER1_CAPT_vect) // typical rate of 1 ms to 2 ms |
389,7 → 392,7 |
} // eof within the PPM frame |
} |
#endif |
#endif |
|
|
|
|