Rockbox mail archive
Subject: Re: simulator build error
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Uwe Freese wrote:
> Now with my trickle stuff in it, building the simulator gives error
> output (see logs on rockbox homepage). :(
> Does anybody know how to correct this?
> In powermgmt.c, I make a
> #include "../apps/settings.h"
> because I want to know if the LED is set to always-on. Should I avoid
> this include (how)?
The general idea is that the code in firmware/ should not use anything
from the apps/ directory.
You could implement a backlight_get_timeout() function in backlight.c
and call that from powermgmt.
Page was last modified "Jan 10 2012" The Rockbox Crew