Added dummy function and simulator stub.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
diff --git a/firmware/backlight.c b/firmware/backlight.c
index af4dfea..e006d3a 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -283,6 +283,7 @@
#ifdef HAVE_REMOTE_LCD
void remote_backlight_on(void) {}
void remote_backlight_off(void) {}
+void remote_backlight_set_timeout(int index) {(void)index;}
#endif
#endif /* #ifdef CONFIG_BACKLIGHT */
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 0437443..3b61e27 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -133,6 +133,11 @@
(void)beep;
}
+void remote_backlight_set_timeout(int index)
+{
+ (void)index;
+}
+
int rtc_read(int address)
{
time_t now = time(NULL);