Skip to content

Commit

Permalink
updated getLowerNibble
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhinavA10 committed Jan 25, 2018
1 parent 0b9dc83 commit ee6c639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PS2RCCar.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ bool isPressed(unsigned char dat, unsigned char key) {
can get the lower 4 bits
==============================================================================*/
unsigned char getLowerNibble(unsigned char dat) {
return ((dat & 0b00001111) == 0);
return (dat & 0b00001111);
}

/*==============================================================================
Expand Down

0 comments on commit ee6c639

Please sign in to comment.