iPod 1st Gen: Fix battery ADC not working due to the EABI compiler optimizing the...
commit0a080891e7b5849df2686df504c15b008ba8cc73
authorJens Arnold <amiconn@rockbox.org>
Fri, 20 Aug 2010 22:21:07 +0000 (20 22:21 +0000)
committerJens Arnold <amiconn@rockbox.org>
Fri, 20 Aug 2010 22:21:07 +0000 (20 22:21 +0000)
tree8ce9b18d1200fb1bcc52d5dc2c2ccea4a1901b30
parent43ccc1eef7a7dae532e36e5ee3fdd144637eb279
iPod 1st Gen: Fix battery ADC not working due to the EABI compiler optimizing the delay loops away. Use udelay() instead, not wasting CPU time when the CPU is not boosted.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27850 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/ipod/1g2g/adc-ipod-1g2g.c