forked from len0rd/rockbox
sleep now references HZ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@882 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
84ee4ca964
commit
da4d33b7a9
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ void ss_loop(void)
|
|||
|
||||
i+=factor;
|
||||
|
||||
sleep(10);
|
||||
sleep(HZ/10);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -124,7 +124,7 @@ void screensaver(void)
|
|||
lcd_putsxy(LCD_WIDTH/2-len, LCD_HEIGHT-(2*h), off,0);
|
||||
|
||||
lcd_update();
|
||||
sleep(150);
|
||||
sleep(HZ/2);
|
||||
ss_loop();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue