diff options
Diffstat (limited to 'apps/plugins/test_fps.c')
-rw-r--r-- | apps/plugins/test_fps.c | 6 |
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) | |||
401 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 401 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
402 | cpu_freq = *rb->cpu_frequency; /* remember CPU frequency */ | 402 | cpu_freq = *rb->cpu_frequency; /* remember CPU frequency */ |
403 | #endif | 403 | #endif |
404 | #ifdef HAVE_BACKLIGHT | ||
404 | backlight_ignore_timeout(); | 405 | backlight_ignore_timeout(); |
405 | 406 | #endif | |
406 | time_main_update(); | 407 | time_main_update(); |
407 | rb->sleep(HZ); | 408 | rb->sleep(HZ); |
408 | #if defined(HAVE_LCD_COLOR) && (MEMORYSIZE > 2) | 409 | #if defined(HAVE_LCD_COLOR) && (MEMORYSIZE > 2) |
@@ -423,8 +424,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
423 | (cpu_freq + 500000) / 1000000); | 424 | (cpu_freq + 500000) / 1000000); |
424 | log_text(str); | 425 | log_text(str); |
425 | #endif | 426 | #endif |
427 | #ifdef HAVE_BACKLIGHT | ||
426 | backlight_use_settings(); | 428 | backlight_use_settings(); |
427 | 429 | #endif | |
428 | /* wait until user closes plugin */ | 430 | /* wait until user closes plugin */ |
429 | plugin_quit(); | 431 | plugin_quit(); |
430 | 432 | ||