1
0
Fork 0
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:
Greg White 2007-01-14 03:30:11 +00:00
parent 0262cba304
commit 382b7a4f86

View file

@ -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)) )