Fix a stupid bug (thanks to Frieder Ferlemann.) Get rid of MS-DOS line endings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11230 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Ankers 2006-10-16 00:18:49 +00:00
parent e147bf3d9f
commit 634f1d6b59

View file

@ -75,7 +75,7 @@ int button_read_device(void)
if ((state & 0x8) == 0) btn |= BUTTON_LEFT;
if ((state & 0x10) == 0) btn |= BUTTON_SELECT; /* The centre button */
if ((state & 0x20) == 0) btn |= BUTTON_UP; /* The "play" button */
if ((state & 0x40) == 1) btn |= BUTTON_POWER;
if ((state & 0x40) != 0) btn |= BUTTON_POWER;
}
return btn;