summaryrefslogtreecommitdiff
path: root/uisimulator/common/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/stubs.c')
-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)
234 storage_spinning = false; 234 storage_spinning = false;
235} 235}
236 236
237void rtc_init(void)
238{
239}
240
241int rtc_read(int address) 237int rtc_read(int address)
242{ 238{
243 return address ^ 0x55; 239 return address ^ 0x55;
@@ -250,20 +246,6 @@ int rtc_write(int address, int value)
250 return 0; 246 return 0;
251} 247}
252 248
253int rtc_read_datetime(struct tm *tm)
254{
255 time_t now = time(NULL);
256 *tm = *localtime(&now);
257
258 return 0;
259}
260
261int rtc_write_datetime(const struct tm *tm)
262{
263 (void)tm;
264 return 0;
265}
266
267#ifdef HAVE_RTC_ALARM 249#ifdef HAVE_RTC_ALARM
268void rtc_get_alarm(int *h, int *m) 250void rtc_get_alarm(int *h, int *m)
269{ 251{