forked from len0rd/rockbox
Move sleep timer code outside of PLATFORM_NATIVE ifdef so RaaA can access it
Also remove redundant RaaA stubs for it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29467 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3bcfd5c106
commit
2647d11354
4 changed files with 51 additions and 66 deletions
|
|
@ -385,17 +385,6 @@ void mpeg_set_pitch(int pitch)
|
|||
(void)pitch;
|
||||
}
|
||||
|
||||
static int sleeptime;
|
||||
void set_sleep_timer(int seconds)
|
||||
{
|
||||
sleeptime = seconds;
|
||||
}
|
||||
|
||||
int get_sleep_timer(void)
|
||||
{
|
||||
return sleeptime;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
void lcd_clearrect (int x, int y, int nx, int ny)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue