Rockbox mail archiveSubject: Re: simulator build error
Re: simulator build error
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sat, 14 Dec 2002 21:38:28 +0100
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.
Received on 2002-12-14