Skip to content

Commit

Permalink
Forgot to clear sentinal bit on return in irReadDibit!
Browse files Browse the repository at this point in the history
  • Loading branch information
bigjosh committed Sep 1, 2017
1 parent 83eaf63 commit ac8ebbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/blinks/ir_coms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ uint8_t irReadDibit( uint8_t face) {
irled_rx_overflow &= ~_BV(face); // Clear out overflow flag
sei();

return( data );
return( data & 0b00000011 );

}

Expand Down

0 comments on commit ac8ebbe

Please sign in to comment.