From e367b05fca08891b0ae47eab8b4a098253122633 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Tue, 22 Aug 2006 20:17:09 +0000 Subject: 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 --- firmware/drivers/adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/adc.c') 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) sleep(2); /* Ensure valid readings when adc_init returns */ } -#elif (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5002) +#elif defined(IPOD_ARCH) struct adc_struct { long timeout; -- cgit v1.2.3