diff options
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 9 |
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 */ | ||
128 | struct tm *get_time(void) | ||
129 | { | ||
130 | time_t now = time(NULL); | ||
131 | return localtime(&now); | ||
132 | } | ||
133 | |||
134 | int rtc_read(int address) | 127 | int 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 | ||
162 | int rtc_write(int address, int value) | 155 | int 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 | ||