summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-06 15:15:44 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-06 15:15:44 +0000
commit94c6e6f337f03052cf1ea0d91d796300470bda9a (patch)
tree47033bcffe55a1dee71e34ed054b0b448a091d99 /firmware
parentdf8749d6d7a52034b7b1872ee421c4c6012f8c0a (diff)
downloadrockbox-94c6e6f337f03052cf1ea0d91d796300470bda9a.tar.gz
rockbox-94c6e6f337f03052cf1ea0d91d796300470bda9a.tar.bz2
rockbox-94c6e6f337f03052cf1ea0d91d796300470bda9a.zip
1st/2nd Gen: Make backlight inversion adaption in the greyscale library work again. is_backlight_on() can now be called from COP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16988 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/backlight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index a09521de9a..4a00f86f39 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -111,8 +111,8 @@ static long backlight_stack[DEFAULT_STACK_SIZE/sizeof(long)];
static const char backlight_thread_name[] = "backlight";
static struct event_queue backlight_queue;
-static int backlight_timer;
-static int backlight_timeout;
+static int backlight_timer SHAREDBSS_ATTR;
+static int backlight_timeout SHAREDBSS_ATTR;
static int backlight_timeout_normal = 5*HZ;
#if CONFIG_CHARGING
static int backlight_timeout_plugged = 5*HZ;