PPMEncoder - bug fix from previous commit

This commit is contained in:
John Arne Birkeland 2013-02-27 14:15:28 +01:00 committed by rmackay9
parent 4f9b787e04
commit bcd142ec0b
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ ISR( PPM_INT_VECTOR, ISR_NOBLOCK )
if( ppm_timeout[ ppm_out_channel ] > PPM_TIMEOUT_VALUE )
{
// Channel 1-4?
if( ppm_out_channel & 7 )
if( ppm_out_channel < 8 )
{
// Channel 1-4 - Use fail-safe value
cli();