Fix FS#5230 - reinit the opto-i2c after disabling hold so the buttons work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22078 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5bd339c9f9
commit
d10f9511cf
1 changed files with 1 additions and 0 deletions
|
@ -310,6 +310,7 @@ int button_read_device(void)
|
|||
{
|
||||
/* unlock -> enable wheel sensor */
|
||||
DEV_EN |= DEV_OPTO;
|
||||
opto_i2c_init();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue