From 4e42cd712c6c4bb952efededefc4d6947b52f43b Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 8 Mar 2011 20:54:42 +0000 Subject: RaaA: Add RTC support git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29544 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/stubs.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 024afab..f8b8fdc 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) { -- cgit v1.1