Corrected placement of parentheses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6624 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bd43bbd420
commit
969b246f76
1 changed files with 2 additions and 2 deletions
|
@ -443,9 +443,9 @@ static int button_read(void)
|
|||
|
||||
/* special buttons */
|
||||
data = GPIO1_READ;
|
||||
if (!button_hold() && (data & (0x20 == 0)))
|
||||
if (!button_hold() && ((data & 0x20) == 0))
|
||||
btn |= BUTTON_ON;
|
||||
if (!remote_button_hold() && (data & (0x40 == 0)))
|
||||
if (!remote_button_hold() && ((data & 0x40) == 0))
|
||||
btn |= BUTTON_RC_ON;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue