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

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.

/Linus
Received on 2002-12-14

Page template was last modified "Sat Sep 18 20:21:06 2021" The Rockbox Crew -- Privacy Policy