diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-16 16:18:11 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-16 16:18:11 +0000 |
commit | a85044bf9eaa0a7206c1978d3cfd57ab2d7fae2f (patch) | |
tree | a30695ed540bf32365d577f46398f712c7a494c4 /firmware/drivers/lcd-h100.c | |
parent | baf5494341cdd6cdb9590e21d429920b9bc4a2c6 (diff) | |
download | rockbox-a85044bf9eaa0a7206c1978d3cfd57ab2d7fae2f.tar.gz rockbox-a85044bf9eaa0a7206c1978d3cfd57ab2d7fae2f.zip |
New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-h100.c')
-rw-r--r-- | firmware/drivers/lcd-h100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 8407876d34..ada6f29216 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c | |||
@@ -144,7 +144,7 @@ void lcd_set_flip(bool yesno) | |||
144 | void lcd_init(void) | 144 | void lcd_init(void) |
145 | { | 145 | { |
146 | create_thread(scroll_thread, scroll_stack, | 146 | create_thread(scroll_thread, scroll_stack, |
147 | sizeof(scroll_stack), scroll_name); | 147 | sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_SYSTEM)); |
148 | } | 148 | } |
149 | #else | 149 | #else |
150 | 150 | ||
@@ -193,7 +193,7 @@ void lcd_init(void) | |||
193 | lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */ | 193 | lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */ |
194 | 194 | ||
195 | create_thread(scroll_thread, scroll_stack, | 195 | create_thread(scroll_thread, scroll_stack, |
196 | sizeof(scroll_stack), scroll_name); | 196 | sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_SYSTEM)); |
197 | } | 197 | } |
198 | 198 | ||
199 | /*** update functions ***/ | 199 | /*** update functions ***/ |