bugfix: for Eros Q / Surfans F20, when the scroll wheel is moved, in addition to resetting the power-off timer, we also need to reset the backlight timer and turn it on in case it's currently off.
Change-Id: I73b463e74727a2d00b0d4ce599f0cc611fb98685
This commit is contained in:
parent
fceb4f6292
commit
f3b522cac6
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,7 @@ int button_read_device(void)
|
|||
queue_post(&button_queue, BUTTON_SCROLL_FWD, 0);
|
||||
enc_position = 0;
|
||||
reset_poweroff_timer();
|
||||
backlight_on();
|
||||
}
|
||||
else if (enc_position < -1)
|
||||
{
|
||||
|
@ -242,6 +243,7 @@ int button_read_device(void)
|
|||
queue_post(&button_queue, BUTTON_SCROLL_BACK, 0);
|
||||
enc_position = 0;
|
||||
reset_poweroff_timer();
|
||||
backlight_on();
|
||||
}
|
||||
|
||||
return r;
|
||||
|
|
Loading…
Reference in a new issue