summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-05-30 06:42:14 +0000
committerJens Arnold <amiconn@rockbox.org>2005-05-30 06:42:14 +0000
commitc3b1eceff1daae7fdb7348bb70b309c37d3f6376 (patch)
tree8e82911bb1581f533c70b70cf698761ecb71e63d
parent748c7515955b56c0b88c85206eafbeb77a933c91 (diff)
downloadrockbox-c3b1eceff1daae7fdb7348bb70b309c37d3f6376.tar.gz
rockbox-c3b1eceff1daae7fdb7348bb70b309c37d3f6376.zip
Added dummy function and simulator stub.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/backlight.c1
-rw-r--r--uisimulator/common/stubs.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index af4dfeadd2..e006d3aeb5 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -283,6 +283,7 @@ void backlight_set_on_when_charging(bool yesno) {(void)yesno;}
283#ifdef HAVE_REMOTE_LCD 283#ifdef HAVE_REMOTE_LCD
284void remote_backlight_on(void) {} 284void remote_backlight_on(void) {}
285void remote_backlight_off(void) {} 285void remote_backlight_off(void) {}
286void remote_backlight_set_timeout(int index) {(void)index;}
286#endif 287#endif
287#endif /* #ifdef CONFIG_BACKLIGHT */ 288#endif /* #ifdef CONFIG_BACKLIGHT */
288 289
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 043744388c..3b61e2781c 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -133,6 +133,11 @@ void backlight_set_on_when_charging(bool beep)
133 (void)beep; 133 (void)beep;
134} 134}
135 135
136void remote_backlight_set_timeout(int index)
137{
138 (void)index;
139}
140
136int rtc_read(int address) 141int rtc_read(int address)
137{ 142{
138 time_t now = time(NULL); 143 time_t now = time(NULL);