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: Classic holdswitch polling

Re: Classic holdswitch polling

From: Thomas Martitz <kugel_at_rockbox.org>
Date: Sat, 10 Mar 2012 23:01:20 +0100

Am 10.03.2012 22:55, schrieb Michael Sparmann:
> On the other hand this might be responsible for quite a bit of CPU
> load. Let's say 300us every 10ms, that's a whopping 3% of CPU load for
> the hold switch polling alone! Does it really need to be done that
> often? Might cause quite some battery drain.

That's why I'd vote for offloading to a thread, which can run at a much
lower rate.

Best regards.
Received on 2012-03-10


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