Skip to content
Snippets Groups Projects
Commit bcd142ec authored by John Arne Birkeland's avatar John Arne Birkeland Committed by rmackay9
Browse files

PPMEncoder - bug fix from previous commit

parent 4f9b787e
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment