mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
plugins: Fix the builds for targets lacking HAVE_BACKLIGHT
Change-Id: Ifdb1501834b7ea63ca6f731bbd6414305d7e0001
This commit is contained in:
parent
5dbb757670
commit
a3398a2143
7 changed files with 40 additions and 10 deletions
|
|
@ -2971,8 +2971,10 @@ static void cleanup(void)
|
|||
rb->cpu_boost(false);
|
||||
#endif
|
||||
end_pf_thread();
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
/* Turn on backlight timeout (revert to settings) */
|
||||
backlight_use_settings();
|
||||
#endif
|
||||
|
||||
#ifdef USEGSLIB
|
||||
grey_release();
|
||||
|
|
@ -3508,7 +3510,9 @@ static int pictureflow_main(void)
|
|||
draw_splashscreen(pf_idx.buf, pf_idx.buf_sz);
|
||||
if(pf_cfg.backlight_mode == 0) {
|
||||
/* Turn off backlight timeout */
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
backlight_ignore_timeout();
|
||||
#endif
|
||||
}
|
||||
|
||||
init_scroll_lines();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue