summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/android/powermgmt-android.c
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-02-28 23:05:00 +0000
committerThomas Jarosch <tomj@simonv.com>2011-02-28 23:05:00 +0000
commit2647d11354d95bae15d3a119f482348775a77491 (patch)
tree59fc722a11eed0462af37b0a57e45cdbb88c1330 /firmware/target/hosted/android/powermgmt-android.c
parent3bcfd5c106e04a88d1c804eb410cbe641757ac53 (diff)
downloadrockbox-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 'firmware/target/hosted/android/powermgmt-android.c')
-rw-r--r--firmware/target/hosted/android/powermgmt-android.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/target/hosted/android/powermgmt-android.c b/firmware/target/hosted/android/powermgmt-android.c
index 6dc7c8c814..e5e8344315 100644
--- a/firmware/target/hosted/android/powermgmt-android.c
+++ b/firmware/target/hosted/android/powermgmt-android.c
@@ -73,14 +73,3 @@ unsigned battery_voltage(void)
{
return 0;
}
-
-static int sleeptime;
-void set_sleep_timer(int seconds)
-{
- sleeptime = seconds;
-}
-
-int get_sleep_timer(void)
-{
- return sleeptime;
-}