summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-03-08 20:54:42 +0000
committerThomas Jarosch <tomj@simonv.com>2011-03-08 20:54:42 +0000
commit4e42cd712c6c4bb952efededefc4d6947b52f43b (patch)
treee359bf3bc5fff2688c5a504823be9976c8982f19 /uisimulator
parent5c73e34d2d81545f59c5c664da3475251a5ac3c6 (diff)
downloadrockbox-4e42cd712c6c4bb952efededefc4d6947b52f43b.tar.gz
rockbox-4e42cd712c6c4bb952efededefc4d6947b52f43b.zip
RaaA: Add RTC support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29544 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/stubs.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 024afab14f..f8b8fdc912 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -234,10 +234,6 @@ void storage_spindown(int s)
storage_spinning = false;
}
-void rtc_init(void)
-{
-}
-
int rtc_read(int address)
{
return address ^ 0x55;
@@ -250,20 +246,6 @@ int rtc_write(int address, int value)
return 0;
}
-int rtc_read_datetime(struct tm *tm)
-{
- time_t now = time(NULL);
- *tm = *localtime(&now);
-
- return 0;
-}
-
-int rtc_write_datetime(const struct tm *tm)
-{
- (void)tm;
- return 0;
-}
-
#ifdef HAVE_RTC_ALARM
void rtc_get_alarm(int *h, int *m)
{