mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 00:22:29 -05:00
c200: Make the backlight react on unlocking hold as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15014 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7d34565c62
commit
4efd9c4eef
1 changed files with 3 additions and 0 deletions
|
|
@ -44,6 +44,9 @@ int button_read_device(void)
|
||||||
hold_button_old = hold_button;
|
hold_button_old = hold_button;
|
||||||
hold_button = button_hold();
|
hold_button = button_hold();
|
||||||
|
|
||||||
|
if (hold_button != hold_button_old)
|
||||||
|
backlight_hold_changed(hold_button);
|
||||||
|
|
||||||
/* device buttons */
|
/* device buttons */
|
||||||
if (!hold_button)
|
if (!hold_button)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue