Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: Re: Battery and volume level display in WPS

Re: Battery and volume level display in WPS

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Thu, 04 Jan 2007 13:18:53 +0100

Tobias Heimann wrote:
> IMHO it would be more logical to spread the highest interval as the
> other ones, e.g. using:
>
> int l = MIN(battery_level(), 99);
> ...
> *intval = limit * l / 100 + 1 + 1;
>
> The volume display interval has the same issue btw.

Sounds OK to me. Care to submit a patch?

Linus
Received on 2007-01-04


Page was last modified "Mar 9 2008" The Rockbox Crew