diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-02-05 20:58:41 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-02-05 20:58:41 +0000 |
| commit | afb2564b8494115babc6ce4c496c28005c5a1599 (patch) | |
| tree | 02fa72561ac24fcb343fa30b970d5b2b09b77a9c | |
| parent | 941de8586c1d64742b5947cb4a49092478755eb5 (diff) | |
| download | rockbox-afb2564b8494115babc6ce4c496c28005c5a1599.zip rockbox-afb2564b8494115babc6ce4c496c28005c5a1599.tar.gz rockbox-afb2564b8494115babc6ce4c496c28005c5a1599.tar.bz2 rockbox-afb2564b8494115babc6ce4c496c28005c5a1599.tar.xz | |
iPod: Increase udelay() up to 50 - this was causing problems when the hold switch was being used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8590 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 5098cbe..368f5be 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -210,7 +210,7 @@ void ipod_4g_button_int(void) CPU_HI_INT_CLR = I2C_MASK; /* The following delay was 250 in the ipodlinux source, but 10 seems to work fine - tested on Nano, Color/Photo and Video. */ - udelay(10); + udelay(50); outl(0x0, 0x7000c140); int_btn = ipod_4g_button_read(); outl(inl(0x7000c104) | 0xC000000, 0x7000c104); |