mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 22:22:33 -05:00
Added the wps_display to global settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1167 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d5dda2c360
commit
6fd0a531f6
2 changed files with 16 additions and 10 deletions
|
|
@ -72,8 +72,10 @@ void reset_settings( user_settings_t *settings ) {
|
||||||
settings->contrast = DEFAULT_CONTRAST_SETTING;
|
settings->contrast = DEFAULT_CONTRAST_SETTING;
|
||||||
settings->poweroff = DEFAULT_POWEROFF_SETTING;
|
settings->poweroff = DEFAULT_POWEROFF_SETTING;
|
||||||
settings->backlight = DEFAULT_BACKLIGHT_SETTING;
|
settings->backlight = DEFAULT_BACKLIGHT_SETTING;
|
||||||
|
settings->wps_display = DEFAULT_WPS_DISPLAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* dump the list of current settings
|
* dump the list of current settings
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,10 @@ typedef struct
|
||||||
|
|
||||||
int loop_playlist; /* do we return to top of playlist at end? */
|
int loop_playlist; /* do we return to top of playlist at end? */
|
||||||
|
|
||||||
|
|
||||||
|
/* while playing screen settings */
|
||||||
|
int wps_display;
|
||||||
|
|
||||||
} user_settings_t;
|
} user_settings_t;
|
||||||
|
|
||||||
/* prototypes */
|
/* prototypes */
|
||||||
|
|
@ -78,6 +82,6 @@ extern user_settings_t global_settings;
|
||||||
#define DEFAULT_CONTRAST_SETTING 0
|
#define DEFAULT_CONTRAST_SETTING 0
|
||||||
#define DEFAULT_POWEROFF_SETTING 0
|
#define DEFAULT_POWEROFF_SETTING 0
|
||||||
#define DEFAULT_BACKLIGHT_SETTING 5
|
#define DEFAULT_BACKLIGHT_SETTING 5
|
||||||
|
#define DEFAULT_WPS_DISPLAY 0
|
||||||
|
|
||||||
#endif /* __SETTINGS_H__ */
|
#endif /* __SETTINGS_H__ */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue