Skip to content

Commit

Permalink
Romi32U4Encoders: Fix a bug that caused errors from the right encoder…
Browse files Browse the repository at this point in the history
… to get

reported as errors from the left encoder.
  • Loading branch information
DavidEGrayson committed Jul 17, 2017
1 parent d3975fb commit 70b0c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Romi32U4Encoders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void rightISR()

if((lastRightA ^ newRightA) & (lastRightB ^ newRightB))
{
errorLeft = true;
errorRight = true;
}

lastRightA = newRightA;
Expand Down

0 comments on commit 70b0c18

Please sign in to comment.