summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_fps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_fps.c')
-rw-r--r--apps/plugins/test_fps.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index 358ab827f3..ddf938ac25 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -401,8 +401,9 @@ enum plugin_status plugin_start(const void* parameter)
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
cpu_freq = *rb->cpu_frequency; /* remember CPU frequency */
#endif
+#ifdef HAVE_BACKLIGHT
backlight_ignore_timeout();
-
+#endif
time_main_update();
rb->sleep(HZ);
#if defined(HAVE_LCD_COLOR) && (MEMORYSIZE > 2)
@@ -423,8 +424,9 @@ enum plugin_status plugin_start(const void* parameter)
(cpu_freq + 500000) / 1000000);
log_text(str);
#endif
+#ifdef HAVE_BACKLIGHT
backlight_use_settings();
-
+#endif
/* wait until user closes plugin */
plugin_quit();