mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
plugins HAVE_BACKLIGHT helper remove ifdefs in favor of dummy functions
lessen the ifdef hell Change-Id: I52f830284e4599f3fc3a75c27dda27058b8de1a3
This commit is contained in:
parent
3745c813f9
commit
97a82ee3ec
38 changed files with 140 additions and 178 deletions
|
@ -722,9 +722,9 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
systemvol= rb->global_settings->volume-rb->global_settings->volume%mod;
|
||||
general_translucency = default_translucency; // phares
|
||||
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
|
||||
backlight_ignore_timeout();
|
||||
#endif
|
||||
|
||||
#ifdef RB_PROFILE
|
||||
rb->profile_thread();
|
||||
#endif
|
||||
|
@ -738,9 +738,9 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
#ifdef RB_PROFILE
|
||||
rb->profstop();
|
||||
#endif
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
|
||||
backlight_use_settings();
|
||||
#endif
|
||||
|
||||
M_SaveDefaults ();
|
||||
|
||||
I_Quit(); // Make SURE everything was closed out right
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue