Corrected placement of parentheses.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6624 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-06-08 22:40:57 +00:00
parent bd43bbd420
commit 969b246f76

View file

@ -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;