forked from len0rd/rockbox
plugins: HAVE_BACKLIGHT in the test plugins
Change-Id: I97d17805ac7d37f10da6a29684102db97448e653
This commit is contained in:
parent
9be5bc4cf0
commit
e49c1af570
5 changed files with 22 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue