diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2006-08-22 20:17:09 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2006-08-22 20:17:09 +0000 |
commit | e367b05fca08891b0ae47eab8b4a098253122633 (patch) | |
tree | 679c959e59b6646007e835662b1737d679cb8764 /firmware/drivers/adc.c | |
parent | b249d9ac2d7ac6f418d427c9e7a40c3d3a7f5ad4 (diff) | |
download | rockbox-e367b05fca08891b0ae47eab8b4a098253122633.tar.gz rockbox-e367b05fca08891b0ae47eab8b4a098253122633.zip |
Move X5 ADC code to target tree. Fix power button detection on H10. New ADC
driver for H10. Thanks to Laurent Baum for all his help with this code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10701 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/adc.c')
-rw-r--r-- | firmware/drivers/adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/adc.c b/firmware/drivers/adc.c index 436c71105a..1ebac066e7 100644 --- a/firmware/drivers/adc.c +++ b/firmware/drivers/adc.c | |||
@@ -283,7 +283,7 @@ void adc_init(void) | |||
283 | sleep(2); /* Ensure valid readings when adc_init returns */ | 283 | sleep(2); /* Ensure valid readings when adc_init returns */ |
284 | } | 284 | } |
285 | 285 | ||
286 | #elif (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5002) | 286 | #elif defined(IPOD_ARCH) |
287 | 287 | ||
288 | struct adc_struct { | 288 | struct adc_struct { |
289 | long timeout; | 289 | long timeout; |