diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-04-02 22:28:08 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-04-02 22:28:08 +0000 |
commit | d5f37b2235eee14041f538f3344e0f80bb73fe87 (patch) | |
tree | 81fa0d69cd0f979b2e0201e642d306d365daa9a3 | |
parent | 5c87a98b97b9ab6bd9647bb0bb8d00f58d5f179b (diff) | |
download | rockbox-d5f37b2235eee14041f538f3344e0f80bb73fe87.tar.gz rockbox-d5f37b2235eee14041f538f3344e0f80bb73fe87.zip |
Ooops, overlooked the no-backlight stubs...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16937 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/backlight.c | 14 |
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) {} | |||
802 | void backlight_off(void) {} | 802 | void backlight_off(void) {} |
803 | void buttonlight_on(void) {} | 803 | void buttonlight_on(void) {} |
804 | void backlight_set_timeout(int value) {(void)value;} | 804 | void backlight_set_timeout(int value) {(void)value;} |
805 | bool is_backlight_on(void) {return true;} | 805 | |
806 | bool is_backlight_on(bool ignore_always_off) | ||
807 | { | ||
808 | (void)ignore_always_off; | ||
809 | return true; | ||
810 | } | ||
806 | #ifdef HAVE_REMOTE_LCD | 811 | #ifdef HAVE_REMOTE_LCD |
807 | void remote_backlight_on(void) {} | 812 | void remote_backlight_on(void) {} |
808 | void remote_backlight_off(void) {} | 813 | void remote_backlight_off(void) {} |
809 | void remote_backlight_set_timeout(int value) {(void)value;} | 814 | void remote_backlight_set_timeout(int value) {(void)value;} |
810 | bool is_remote_backlight_on(void) {return true;} | 815 | |
816 | bool is_remote_backlight_on(bool ignore_always_off) | ||
817 | { | ||
818 | (void)ignore_always_off; | ||
819 | return true; | ||
820 | } | ||
811 | #endif /* HAVE_REMOTE_LCD */ | 821 | #endif /* HAVE_REMOTE_LCD */ |
812 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS | 822 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS |
813 | void backlight_set_brightness(int val) { (void)val; } | 823 | void backlight_set_brightness(int val) { (void)val; } |