summaryrefslogtreecommitdiffstats
path: root/apps/plugins/starfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/starfield.c')
-rw-r--r--apps/plugins/starfield.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c
index 24e2e4c085..7fc400d0ee 100644
--- a/apps/plugins/starfield.c
+++ b/apps/plugins/starfield.c
@@ -324,13 +324,14 @@ enum plugin_status plugin_start(const void* parameter)
int ret;
(void)parameter;
+#ifdef HAVE_BACKLIGHT
/* Turn off backlight timeout */
backlight_ignore_timeout();
-
+#endif
ret = plugin_main();
-
+#ifdef HAVE_BACKLIGHT
/* Turn on backlight timeout (revert to settings) */
backlight_use_settings();
-
+#endif
return ret;
}