diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 19:42:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 19:42:32 -0400 |
commit | e49c1af5709bd24ea9c088c6d1676372bd7cc780 (patch) | |
tree | ccfb40404fad8503292e1baa4fdd9aef8d1d78eb /apps/plugins/test_gfx.c | |
parent | 9be5bc4cf0d185f4515174b9ebbb105f73f7c2e3 (diff) | |
download | rockbox-e49c1af5709bd24ea9c088c6d1676372bd7cc780.tar.gz rockbox-e49c1af5709bd24ea9c088c6d1676372bd7cc780.zip |
plugins: HAVE_BACKLIGHT in the test plugins
Change-Id: I97d17805ac7d37f10da6a29684102db97448e653
Diffstat (limited to 'apps/plugins/test_gfx.c')
-rw-r--r-- | apps/plugins/test_gfx.c | 5 |
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) | |||
495 | rb->lcd_set_backdrop(NULL); | 495 | rb->lcd_set_backdrop(NULL); |
496 | rb->lcd_clear_display(); | 496 | rb->lcd_clear_display(); |
497 | #endif | 497 | #endif |
498 | #ifdef HAVE_BACKLIGHT | ||
498 | backlight_ignore_timeout(); | 499 | backlight_ignore_timeout(); |
499 | 500 | #endif | |
500 | rb->splashf(0, "LCD driver performance test, please wait %d sec", | 501 | rb->splashf(0, "LCD driver performance test, please wait %d sec", |
501 | 7*4*DURATION/HZ); | 502 | 7*4*DURATION/HZ); |
502 | init_rand_table(); | 503 | init_rand_table(); |
@@ -521,7 +522,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
521 | (cpu_freq + 500000) / 1000000); | 522 | (cpu_freq + 500000) / 1000000); |
522 | #endif | 523 | #endif |
523 | rb->close(log_fd); | 524 | rb->close(log_fd); |
525 | #ifdef HAVE_BACKLIGHT | ||
524 | backlight_use_settings(); | 526 | backlight_use_settings(); |
527 | #endif | ||
525 | #ifdef TEST_GREYLIB | 528 | #ifdef TEST_GREYLIB |
526 | grey_release(); | 529 | grey_release(); |
527 | #endif | 530 | #endif |