mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
plugins: More HAVE_BACKLIGHT cleanup
Change-Id: I70cf700f5bc3d4375c025efa62ef40fd2bd70293
This commit is contained in:
parent
2127906384
commit
9be5bc4cf0
30 changed files with 149 additions and 44 deletions
|
@ -2687,8 +2687,10 @@ static int lrc_main(void)
|
|||
vp_lyrics[i].height -= h;
|
||||
}
|
||||
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
if (prefs.backlight_on)
|
||||
backlight_ignore_timeout();
|
||||
#endif
|
||||
|
||||
/* in case settings that may affect break position
|
||||
* are changed (statusbar_on and wrap). */
|
||||
|
@ -2780,8 +2782,10 @@ static int lrc_main(void)
|
|||
FOR_NB_SCREENS(i)
|
||||
rb->viewportmanager_theme_undo(i, false);
|
||||
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
if (prefs.backlight_on)
|
||||
backlight_use_settings();
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue