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:
parent
4a1d8d272a
commit
cabfbb3556
4 changed files with 6 additions and 6 deletions
|
@ -80,7 +80,7 @@ void lcd_init(void)
|
||||||
lcd_init_device();
|
lcd_init_device();
|
||||||
create_thread(scroll_thread, scroll_stack,
|
create_thread(scroll_thread, scroll_stack,
|
||||||
sizeof(scroll_stack), scroll_name
|
sizeof(scroll_stack), scroll_name
|
||||||
IF_PRIO(, PRIORITY_SYSTEM));
|
IF_PRIO(, PRIORITY_USER_INTERFACE));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** parameter handling ***/
|
/*** parameter handling ***/
|
||||||
|
|
|
@ -76,7 +76,7 @@ void lcd_init(void)
|
||||||
/* Call device specific init */
|
/* Call device specific init */
|
||||||
lcd_init_device();
|
lcd_init_device();
|
||||||
create_thread(scroll_thread, scroll_stack,
|
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 ***/
|
/*** parameter handling ***/
|
||||||
|
|
|
@ -573,7 +573,7 @@ static void remote_tick(void)
|
||||||
void lcd_remote_init(void)
|
void lcd_remote_init(void)
|
||||||
{
|
{
|
||||||
create_thread(scroll_thread, scroll_stack,
|
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 */
|
#else /* !SIMULATOR */
|
||||||
|
|
||||||
|
@ -605,7 +605,7 @@ void lcd_remote_init(void)
|
||||||
queue_init(&remote_scroll_queue, false);
|
queue_init(&remote_scroll_queue, false);
|
||||||
tick_add_task(remote_tick);
|
tick_add_task(remote_tick);
|
||||||
create_thread(scroll_thread, scroll_stack,
|
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 ***/
|
/*** update functions ***/
|
||||||
|
|
|
@ -144,7 +144,7 @@ void lcd_set_flip(bool yesno)
|
||||||
void lcd_init(void)
|
void lcd_init(void)
|
||||||
{
|
{
|
||||||
create_thread(scroll_thread, scroll_stack,
|
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
|
#else
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@ void lcd_init(void)
|
||||||
lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */
|
lcd_write_command(LCD_CNTL_ON_OFF | 1); /* LCD ON */
|
||||||
|
|
||||||
create_thread(scroll_thread, scroll_stack,
|
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 ***/
|
/*** update functions ***/
|
||||||
|
|
Loading…
Reference in a new issue