summaryrefslogtreecommitdiffstats
path: root/apps/plugins/invadrox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/invadrox.c')
-rw-r--r--apps/plugins/invadrox.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/invadrox.c b/apps/plugins/invadrox.c
index e7529895ac..e275129d27 100644
--- a/apps/plugins/invadrox.c
+++ b/apps/plugins/invadrox.c
@@ -1899,8 +1899,9 @@ enum plugin_status plugin_start(UNUSED const void* parameter)
{
rb->lcd_setfont(FONT_SYSFIXED);
/* Turn off backlight timeout */
+#ifdef HAVE_BACKLIGHT
backlight_ignore_timeout();
-
+#endif
/* now go ahead and have fun! */
game_loop();
@@ -1916,8 +1917,9 @@ enum plugin_status plugin_start(UNUSED const void* parameter)
/* Restore user's original backlight setting */
rb->lcd_setfont(FONT_UI);
/* Turn on backlight timeout (revert to settings) */
+#ifdef HAVE_BACKLIGHT
backlight_use_settings();
-
+#endif
return PLUGIN_OK;
}