diff options
author | Thomas Jarosch <tomj@simonv.com> | 2011-02-28 23:05:00 +0000 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2011-02-28 23:05:00 +0000 |
commit | 2647d11354d95bae15d3a119f482348775a77491 (patch) | |
tree | 59fc722a11eed0462af37b0a57e45cdbb88c1330 /uisimulator/common/stubs.c | |
parent | 3bcfd5c106e04a88d1c804eb410cbe641757ac53 (diff) | |
download | rockbox-2647d11354d95bae15d3a119f482348775a77491.tar.gz rockbox-2647d11354d95bae15d3a119f482348775a77491.zip |
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
Diffstat (limited to 'uisimulator/common/stubs.c')
-rw-r--r-- | uisimulator/common/stubs.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index e0372d2683..024afab14f 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c | |||
@@ -385,17 +385,6 @@ void mpeg_set_pitch(int pitch) | |||
385 | (void)pitch; | 385 | (void)pitch; |
386 | } | 386 | } |
387 | 387 | ||
388 | static int sleeptime; | ||
389 | void set_sleep_timer(int seconds) | ||
390 | { | ||
391 | sleeptime = seconds; | ||
392 | } | ||
393 | |||
394 | int get_sleep_timer(void) | ||
395 | { | ||
396 | return sleeptime; | ||
397 | } | ||
398 | |||
399 | #ifdef HAVE_LCD_CHARCELLS | 388 | #ifdef HAVE_LCD_CHARCELLS |
400 | void lcd_clearrect (int x, int y, int nx, int ny) | 389 | void lcd_clearrect (int x, int y, int nx, int ny) |
401 | { | 390 | { |