Commit graph

7 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
26f42605c2 Reverted to the old ADC driver, since it appeared to cause fake OFF keypresses (weird indeed, since the OFF key doesn't use the ADC on the plain Recorder). However, I did fix the batch convert, since it caused fake keypresses at boot time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4260 a1c6a512-1295-4272-9138-f99709370657
2004-01-20 11:57:50 +00:00
Linus Nielsen Feltzing
5bd3297fd4 Faster, simplified A/D driver. The previous batch convert in init_adc() produced garbage because of the fast conversion time, causing fake keypresses that made ask_resume() return prematurely. This should fix the intermittent resume problem reported by many users.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4222 a1c6a512-1295-4272-9138-f99709370657
2004-01-13 11:36:23 +00:00
Jörg Hohensohn
bfaf757db7 Magnus Holmgren: Just realized one thing: doing AN0-3 last is slightly better, as AN0
will then remain valid for the first execution of the tick task function.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3842 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:40:16 +00:00
Linus Nielsen Feltzing
a2134422d4 Removed a compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3837 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 22:39:15 +00:00
Jörg Hohensohn
d8a4bf3ec6 Patch 772577 by Magnus Holmgren: measure all ADC channels within adc_init(), so afterwards adc_read() can be used right away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3834 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 21:07:53 +00:00
Linus Nielsen Feltzing
a550b07886 Removed TAB chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1280 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 10:55:47 +00:00
Linus Nielsen Feltzing
f725641ff9 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1273 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:22:25 +00:00