Sansa Clip: Do not return HOLD status in button_read_device()

It is read separately, and so backlight/buttonlight can be disabled
while hold switch is on

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19302 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2008-12-02 17:37:23 +00:00
parent 6eae16ae82
commit 6840cd1277
2 changed files with 1 additions and 5 deletions

View file

@ -45,11 +45,10 @@ bool button_hold(void);
#define BUTTON_SELECT 0x00000080
#define BUTTON_POWER 0x00000100
#define BUTTON_HOLD 0x00000200
#define BUTTON_MAIN (BUTTON_HOME|BUTTON_VOL_UP|BUTTON_VOL_DOWN\
|BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\
|BUTTON_SELECT|BUTTON_POWER|BUTTON_HOLD)
|BUTTON_SELECT|BUTTON_POWER)
#define BUTTON_REMOTE 0