Rockbox mail archiveSubject: Re: Rombox: won't charge when batteries are dead
Re: Rombox: won't charge when batteries are dead
From: Heikki Hannikainen <hessu_at_hes.iki.fi>
Date: Tue, 15 Jul 2003 14:40:14 +0300 (EEST)
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
Received on 2003-07-15