summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
43 ADC_ADDR |= 0x20000000; 43 ADC_ADDR |= 0x20000000;
44 ADC_ADDR |= 0x80000000; 44 ADC_ADDR |= 0x80000000;
45 45
46 /* Wait 50ms for things to settle */
47 sleep(HZ/20);
48
49 /* ADC_DATA_1 and ADC_DATA_2 are both four bytes, one byte per channel. 46 /* ADC_DATA_1 and ADC_DATA_2 are both four bytes, one byte per channel.
50 For each channel, ADC_DATA_1 stores the 8-bit msb, ADC_DATA_2 stores the 47 For each channel, ADC_DATA_1 stores the 8-bit msb, ADC_DATA_2 stores the
51 2-bit lsb (in bits 0 and 1). Each channel is 10 bits total. */ 48 2-bit lsb (in bits 0 and 1). Each channel is 10 bits total. */