1
0
Fork 0
forked from len0rd/rockbox

Make "Backlight (On hold key)" option work.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10919 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2006-09-10 13:18:33 +00:00
parent 2102dbf47e
commit 2937c504bb

View file

@ -52,13 +52,11 @@ int button_read_device(void)
unsigned char state; unsigned char state;
static bool hold_button = false; static bool hold_button = false;
#if 0
/* light handling */ /* light handling */
if (hold_button && !button_hold()) if (hold_button && !button_hold())
{ {
backlight_on(); backlight_hold_changed(hold_button);
} }
#endif
hold_button = button_hold(); hold_button = button_hold();
if (!hold_button) if (!hold_button)