forked from len0rd/rockbox
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
|
@ -1532,7 +1532,9 @@ static void fft_cleanup(void)
|
|||
#ifndef HAVE_LCD_COLOR
|
||||
grey_release();
|
||||
#endif
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
backlight_use_settings();
|
||||
#endif
|
||||
|
||||
/* save settings if changed */
|
||||
if (rb->memcmp(&fft, &fft_disk, sizeof(fft)))
|
||||
|
@ -1583,7 +1585,9 @@ static bool fft_setup(void)
|
|||
mylcd_clear_display();
|
||||
myosd_lcd_update();
|
||||
#endif
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
backlight_ignore_timeout();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->trigger_cpu_boost();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue