Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Rombox: won't charge when batteries are dead
From: Heikki Hannikainen (hessu_at_hes.iki.fi)
Date: 2003-07-15


On Tue, 15 Jul 2003, Magnus Holmgren wrote:

> > So, just moving power_init might not help. Maybe it can be fixed by
> > moving some initializations, or maybe it is simply a matter of time.
>
> It turned out to be quite simple, once I spent a minute or two
> understanding what happens in adc.c. It is a matter of time: power_init
> must be called at least 80 ms after adc_init returns, otherwise it will
> get incorrect data.

  So adc.c could be moved quite high up, it doesn't seem to depend on just
about anything except the kernel, then power_init() could be moved a bit
higher up?

  - Hessu



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa