summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-02 22:28:08 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-02 22:28:08 +0000
commitd5f37b2235eee14041f538f3344e0f80bb73fe87 (patch)
tree81fa0d69cd0f979b2e0201e642d306d365daa9a3 /firmware
parent5c87a98b97b9ab6bd9647bb0bb8d00f58d5f179b (diff)
downloadrockbox-d5f37b2235eee14041f538f3344e0f80bb73fe87.tar.gz
rockbox-d5f37b2235eee14041f538f3344e0f80bb73fe87.tar.bz2
rockbox-d5f37b2235eee14041f538f3344e0f80bb73fe87.zip
Ooops, overlooked the no-backlight stubs...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16937 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/backlight.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 19e6933fca..4126b82a2c 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -802,12 +802,22 @@ void backlight_on(void) {}
void backlight_off(void) {}
void buttonlight_on(void) {}
void backlight_set_timeout(int value) {(void)value;}
-bool is_backlight_on(void) {return true;}
+
+bool is_backlight_on(bool ignore_always_off)
+{
+ (void)ignore_always_off;
+ return true;
+}
#ifdef HAVE_REMOTE_LCD
void remote_backlight_on(void) {}
void remote_backlight_off(void) {}
void remote_backlight_set_timeout(int value) {(void)value;}
-bool is_remote_backlight_on(void) {return true;}
+
+bool is_remote_backlight_on(bool ignore_always_off)
+{
+ (void)ignore_always_off;
+ return true;
+}
#endif /* HAVE_REMOTE_LCD */
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
void backlight_set_brightness(int val) { (void)val; }