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.c33
1 files changed, 8 insertions, 25 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 0bbecdae41..ff66c1fab3 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -78,21 +78,19 @@ void audio_set_buffer_margin(int seconds)
78} 78}
79#endif 79#endif
80 80
81/* Generic firmware stubs. */ 81#ifdef CONFIG_BACKLIGHT
82void backlight_on(void) 82void sim_backlight(int value)
83{ 83{
84 /* we could do something better here! */ 84 DEBUGF("backlight: %s\n", (value > 0) ? "on" : "off");
85}
86
87void backlight_off(void)
88{
89 /* we could do something better here! */
90} 85}
86#endif
91 87
92void backlight_time(int dummy) 88#ifdef HAVE_REMOTE_LCD
89void sim_remote_backlight(int value)
93{ 90{
94 (void)dummy; 91 DEBUGF("remote backlight: %s\n", (value > 0) ? "on" : "off");
95} 92}
93#endif
96 94
97int fat_startsector(void) 95int fat_startsector(void)
98{ 96{
@@ -167,21 +165,6 @@ bool simulate_usb(void)
167 return false; 165 return false;
168} 166}
169 167
170void backlight_set_timeout(int index)
171{
172 (void)index;
173}
174
175void backlight_set_on_when_charging(bool beep)
176{
177 (void)beep;
178}
179
180void remote_backlight_set_timeout(int index)
181{
182 (void)index;
183}
184
185int rtc_read(int address) 168int rtc_read(int address)
186{ 169{
187 time_t now = time(NULL); 170 time_t now = time(NULL);