summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_gfx.c')
-rw-r--r--apps/plugins/test_gfx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/test_gfx.c b/apps/plugins/test_gfx.c
index 51d8f40cd7..7734179159 100644
--- a/apps/plugins/test_gfx.c
+++ b/apps/plugins/test_gfx.c
@@ -495,8 +495,9 @@ enum plugin_status plugin_start(const void* parameter)
rb->lcd_set_backdrop(NULL);
rb->lcd_clear_display();
#endif
+#ifdef HAVE_BACKLIGHT
backlight_ignore_timeout();
-
+#endif
rb->splashf(0, "LCD driver performance test, please wait %d sec",
7*4*DURATION/HZ);
init_rand_table();
@@ -521,7 +522,9 @@ enum plugin_status plugin_start(const void* parameter)
(cpu_freq + 500000) / 1000000);
#endif
rb->close(log_fd);
+#ifdef HAVE_BACKLIGHT
backlight_use_settings();
+#endif
#ifdef TEST_GREYLIB
grey_release();
#endif