mirror of https://github.com/ArduPilot/ardupilot
PPMEncoder - bug fix from previous commit
This commit is contained in:
parent
4f9b787e04
commit
bcd142ec0b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue