forked from len0rd/rockbox
Skip scroll check when LCD is disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12004 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0262cba304
commit
382b7a4f86
1 changed files with 8 additions and 4 deletions
|
@ -938,6 +938,10 @@ static void scroll_thread(void)
|
|||
scrolling_lines = 0;
|
||||
|
||||
while ( 1 ) {
|
||||
if(!lcd_enabled()) {
|
||||
sleep(scroll_ticks);
|
||||
continue;
|
||||
}
|
||||
for ( index = 0; index < SCROLLABLE_LINES; index++ ) {
|
||||
/* really scroll? */
|
||||
if ( !(scrolling_lines&(1<<index)) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue