Fixed the line scrolling not always being smooth.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11044 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-09-25 12:45:14 +00:00
parent 4a1d8d272a
commit cabfbb3556
4 changed files with 6 additions and 6 deletions

View file

@ -80,7 +80,7 @@ void lcd_init(void)
lcd_init_device();
create_thread(scroll_thread, scroll_stack,
sizeof(scroll_stack), scroll_name
IF_PRIO(, PRIORITY_SYSTEM));
IF_PRIO(, PRIORITY_USER_INTERFACE));
}
/*** parameter handling ***/

View file

@ -76,7 +76,7 @@ void lcd_init(void)
/* Call device specific init */
lcd_init_device();
create_thread(scroll_thread, scroll_stack,
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_SYSTEM));
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_USER_INTERFACE));
}
/*** parameter handling ***/

View file

@ -573,7 +573,7 @@ static void remote_tick(void)
void lcd_remote_init(void)
{
create_thread(scroll_thread, scroll_stack,
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_SYSTEM));
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_USER_INTERFACE));
}
#else /* !SIMULATOR */
@ -605,7 +605,7 @@ void lcd_remote_init(void)
queue_init(&remote_scroll_queue, false);
tick_add_task(remote_tick);
create_thread(scroll_thread, scroll_stack,
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_SYSTEM));
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_USER_INTERFACE));
}
/*** update functions ***/

View file

@ -144,7 +144,7 @@ void lcd_set_flip(bool yesno)
void lcd_init(void)
{
create_thread(scroll_thread, scroll_stack,
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_SYSTEM));
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_USER_INTERFACE));
}
#else
@ -193,7 +193,7 @@ void lcd_init(void)
lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */
create_thread(scroll_thread, scroll_stack,
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_SYSTEM));
sizeof(scroll_stack), scroll_name IF_PRIO(, PRIORITY_USER_INTERFACE));
}
/*** update functions ***/