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: simulator build error
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2002-12-14


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.

/Linus



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