summaryrefslogtreecommitdiff
path: root/firmware/target/arm/iriver
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-08-28 10:39:24 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-08-28 10:39:24 +0000
commitd9199d10b1ec3d93002eb0f863b15edbe58d5892 (patch)
treed84ef01af9d4861aef1cd92405f0bdaf0b084a89 /firmware/target/arm/iriver
parent69c9d620e28a4efec3e527da3939f085ba13a0e8 (diff)
Remove sleep() from adc_scan(). It causes Rockbox to hang and isn't necessary anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10783 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver')
-rwxr-xr-xfirmware/target/arm/iriver/h10/adc-h10.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/target/arm/iriver/h10/adc-h10.c b/firmware/target/arm/iriver/h10/adc-h10.c
index b3a36e6b39..134b90b587 100755
--- a/firmware/target/arm/iriver/h10/adc-h10.c
+++ b/firmware/target/arm/iriver/h10/adc-h10.c
@@ -43,9 +43,6 @@ unsigned short adc_scan(int channel)
ADC_ADDR |= 0x20000000;
ADC_ADDR |= 0x80000000;
- /* Wait 50ms for things to settle */
- sleep(HZ/20);
-
/* ADC_DATA_1 and ADC_DATA_2 are both four bytes, one byte per channel.
For each channel, ADC_DATA_1 stores the 8-bit msb, ADC_DATA_2 stores the
2-bit lsb (in bits 0 and 1). Each channel is 10 bits total. */