summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-03-07 00:51:36 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-03-07 00:51:36 +0000
commit2d8cd814acb3de5f19cb2a24ea0dbd849cf2c486 (patch)
tree192555604ac105f6770e32dfbc3f4c80fee77168
parent9f77d98c34ce252b5d9f89d578c416d311c0de2b (diff)
downloadrockbox-2d8cd814acb3de5f19cb2a24ea0dbd849cf2c486.tar.gz
rockbox-2d8cd814acb3de5f19cb2a24ea0dbd849cf2c486.zip
Increase backlight priority to the same level as UI so that there is no longer a long delay when activating it during heavy CPU load.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16543 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index fcb7159cce..181ead71a1 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -600,7 +600,7 @@ void backlight_init(void)
create_thread(backlight_thread, backlight_stack,
sizeof(backlight_stack), 0, backlight_thread_name
- IF_PRIO(, PRIORITY_SYSTEM)
+ IF_PRIO(, PRIORITY_USER_INTERFACE)
IF_COP(, CPU));
tick_add_task(backlight_tick);
}