summaryrefslogtreecommitdiffstats
path: root/apps/plugins/stats.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-24 19:20:15 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 19:20:15 -0400
commit9be5bc4cf0d185f4515174b9ebbb105f73f7c2e3 (patch)
tree46b4a9f4650d288bcbe67e92a9138b45c06105fa /apps/plugins/stats.c
parent2127906384d618e032692becba10aeda1b3e1974 (diff)
downloadrockbox-9be5bc4cf0.tar.gz
rockbox-9be5bc4cf0.tar.bz2
rockbox-9be5bc4cf0.zip
plugins: More HAVE_BACKLIGHT cleanup
Change-Id: I70cf700f5bc3d4375c025efa62ef40fd2bd70293
Diffstat (limited to 'apps/plugins/stats.c')
-rw-r--r--apps/plugins/stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/stats.c b/apps/plugins/stats.c
index 0a29a7aa30..19ccd9f452 100644
--- a/apps/plugins/stats.c
+++ b/apps/plugins/stats.c
@@ -189,10 +189,12 @@ enum plugin_status plugin_start(const void* parameter)
return PLUGIN_OK;
}
update_screen();
+#ifdef HAVE_BACKLIGHT
#ifdef HAVE_REMOTE_LCD
rb->remote_backlight_on();
#endif
rb->backlight_on();
+#endif
rb->splash(HZ, "Done");
update_screen();
while (1) {