From 1d1a17c0dbd0fdf2857c5d1636713247d28f1762 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Tue, 16 Oct 2007 10:48:16 +0000 Subject: Improved H10 ADC driver. We now do things exactly as the OF does. This includes shifting the readings by 0x14 when PLL is enabled. Battery voltages and remote/scrollpad values adjusted accordingly. We also now wait for the ADC to indicate the conversion is complete before reading the data, so hopefully we will get more reliably steady readings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15141 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/sandisk/sansa-c200/lcd-c200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/sandisk/sansa-c200') diff --git a/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c b/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c index 24a7585508..5975ab159d 100644 --- a/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c +++ b/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c @@ -88,7 +88,7 @@ void lcd_init_device(void) outl(inl(0x70000010) & ~0xfc000000, 0x70000010); outl(inl(0x70000010), 0x70000010); - DEV_INIT &= ~0x400; + DEV_INIT2 &= ~0x400; udelay(10000); LCD1_CONTROL &= ~0x4; -- cgit v1.2.3