diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-29 01:57:48 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-29 01:57:48 +0000 |
commit | d10f9511cfa3587960ac86a2b726d86ab403ee76 (patch) | |
tree | 730b178dbd7016f1e680a5107da13801bd0037e1 /firmware/target/arm/ipod | |
parent | 5bd339c9f902749c8d88deb3be0992e0e0fe6ee9 (diff) |
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
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r-- | firmware/target/arm/ipod/button-clickwheel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/button-clickwheel.c b/firmware/target/arm/ipod/button-clickwheel.c index 727842834f..7f631dc3b6 100644 --- a/firmware/target/arm/ipod/button-clickwheel.c +++ b/firmware/target/arm/ipod/button-clickwheel.c @@ -310,6 +310,7 @@ int button_read_device(void) { /* unlock -> enable wheel sensor */ DEV_EN |= DEV_OPTO; + opto_i2c_init(); } } |