mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-23 15:07:38 -04:00
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
|
|
@ -467,8 +467,10 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
|
||||
rb->srand(*rb->current_tick);
|
||||
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
/* Turn off backlight timeout */
|
||||
backlight_ignore_timeout();
|
||||
#endif
|
||||
|
||||
while(!quit)
|
||||
{
|
||||
|
|
@ -487,8 +489,9 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
|
||||
/* Turn on backlight timeout (revert to settings) */
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
backlight_use_settings();
|
||||
|
||||
#endif
|
||||
rb->rmdir(testbasedir);
|
||||
|
||||
return PLUGIN_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue