Commit FS#10594 - Remove duplicated buttonlight code for Gigabeat F/X.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24175 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2010-01-04 05:38:04 +00:00
parent 86c1360169
commit 2f2fa0ffa6
2 changed files with 1 additions and 3 deletions

View file

@ -511,6 +511,7 @@ Viktor Varga
Juliusz Chroboczek Juliusz Chroboczek
Christian Beier Christian Beier
Giovanni Zilli Giovanni Zilli
Shiloh Hawley
The libmad team The libmad team
The wavpack team The wavpack team

View file

@ -109,7 +109,6 @@ int button_read_device(void)
/* if the buttons dont agree twice in a row, then its none */ /* if the buttons dont agree twice in a row, then its none */
lastbutton = btn; lastbutton = btn;
btn = BUTTON_NONE; btn = BUTTON_NONE;
buttonlight_on();
} }
/* Check for hold first - exit if asserted with no button pressed */ /* Check for hold first - exit if asserted with no button pressed */
@ -121,7 +120,6 @@ int button_read_device(void)
if (buttons) if (buttons)
{ {
btn |= buttons; btn |= buttons;
buttonlight_on();
} }
/* the touchpad - only watch the lines we actually read */ /* the touchpad - only watch the lines we actually read */
@ -152,7 +150,6 @@ int button_read_device(void)
if (touchpad & ((1 << 9) | (1 << 8) | (1 << 7))) if (touchpad & ((1 << 9) | (1 << 8) | (1 << 7)))
btn |= BUTTON_LEFT; btn |= BUTTON_LEFT;
buttonlight_on();
} }
/* the cradle buttons */ /* the cradle buttons */