commit | 1d1a17c0dbd0fdf2857c5d1636713247d28f1762 | [log] [tgz] |
---|---|---|
author | Barry Wardell <rockbox@barrywardell.net> | Tue Oct 16 10:48:16 2007 +0000 |
committer | Barry Wardell <rockbox@barrywardell.net> | Tue Oct 16 10:48:16 2007 +0000 |
tree | 863d40550a3f6da5406d65471b3593bde9f9d8d5 | |
parent | 8b44601a7c306611b9aba29a7774708585c97539 [diff] |
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