mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
da88e84f48
commit
3a37f46fc9
18 changed files with 51 additions and 48 deletions
|
|
@ -38,7 +38,7 @@
|
|||
#include "lcd-remote.h"
|
||||
|
||||
|
||||
#ifdef CONFIG_BACKLIGHT
|
||||
#if CONFIG_BACKLIGHT
|
||||
int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)
|
||||
{
|
||||
(void)this_item;
|
||||
|
|
@ -77,7 +77,7 @@ int flipdisplay_callback(int action,const struct menu_item_ex *this_item)
|
|||
|
||||
/***********************************/
|
||||
/* LCD MENU */
|
||||
#ifdef CONFIG_BACKLIGHT
|
||||
#if CONFIG_BACKLIGHT
|
||||
MENUITEM_SETTING(backlight_timeout, &global_settings.backlight_timeout, NULL);
|
||||
#if CONFIG_CHARGING
|
||||
MENUITEM_SETTING(backlight_timeout_plugged,
|
||||
|
|
@ -172,7 +172,7 @@ MENUITEM_FUNCTION(reset_colors, ID2P(LANG_RESET_COLORS),
|
|||
/* now the actual menu */
|
||||
MAKE_MENU(lcd_settings,ID2P(LANG_LCD_MENU),
|
||||
NULL, bitmap_icons_6x8[Icon_Display_menu]
|
||||
#ifdef CONFIG_BACKLIGHT
|
||||
#if CONFIG_BACKLIGHT
|
||||
,&backlight_timeout
|
||||
# if CONFIG_CHARGING
|
||||
,&backlight_timeout_plugged
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue