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:
parent
2102dbf47e
commit
2937c504bb
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue