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.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 98c574ffaa..fab61b8ed3 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -124,13 +124,6 @@ void backlight_set_on_when_charging(bool beep)
124 (void)beep; 124 (void)beep;
125} 125}
126 126
127/* original is in firmware/common/timefuncs.c */
128struct tm *get_time(void)
129{
130 time_t now = time(NULL);
131 return localtime(&now);
132}
133
134int rtc_read(int address) 127int rtc_read(int address)
135{ 128{
136 time_t now = time(NULL); 129 time_t now = time(NULL);
@@ -161,7 +154,7 @@ int rtc_read(int address)
161 154
162int rtc_write(int address, int value) 155int rtc_write(int address, int value)
163{ 156{
164 DEBUGF("write %x to address %x\n", value, address); 157 DEBUGF("write %02x to address %02x\n", value, address);
165 return 0; 158 return 0;
166} 159}
167 160