diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-10-21 23:36:09 +0200 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2021-12-08 22:26:38 -0500 |
commit | 7e0e4fe888eba8133a753bb2abc748b0c404e9f5 (patch) | |
tree | 81bb6a5aecb8a2dee19ff03bd649010d7da87d27 /apps/settings_list.c | |
parent | 5433ea540555f18d3986c5067c6f26ddf497bd9b (diff) | |
download | rockbox-7e0e4fe888eba8133a753bb2abc748b0c404e9f5.tar.gz rockbox-7e0e4fe888eba8133a753bb2abc748b0c404e9f5.zip |
Add setting to hide shutdown message
Also keeps display from lighting up before shutdown,
which reduces distractions, especially at night and
when the sleep timer is used by allowing the
screen to remain dark.
Change-Id: I1c2d1966f6fb9766532adf01e8828876a871857f
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 383ec9cd0e..d8702148ba 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -1956,6 +1956,10 @@ const struct settings_list settings[] = { | |||
1956 | "sleeptimer on startup", NULL), | 1956 | "sleeptimer on startup", NULL), |
1957 | OFFON_SETTING(0, keypress_restarts_sleeptimer, LANG_KEYPRESS_RESTARTS_SLEEP_TIMER, false, | 1957 | OFFON_SETTING(0, keypress_restarts_sleeptimer, LANG_KEYPRESS_RESTARTS_SLEEP_TIMER, false, |
1958 | "keypress restarts sleeptimer", set_keypress_restarts_sleep_timer), | 1958 | "keypress restarts sleeptimer", set_keypress_restarts_sleep_timer), |
1959 | |||
1960 | OFFON_SETTING(0, show_shutdown_message, LANG_SHOW_SHUTDOWN_MESSAGE, true, | ||
1961 | "show shutdown message", NULL), | ||
1962 | |||
1959 | #ifdef HAVE_TOUCHPAD_SENSITIVITY_SETTING | 1963 | #ifdef HAVE_TOUCHPAD_SENSITIVITY_SETTING |
1960 | /* If specific values are set for touchpad sensitivity setting we use those */ | 1964 | /* If specific values are set for touchpad sensitivity setting we use those */ |
1961 | #if (defined(MAX_TOUCHPAD_SENSITIVITY_SETTING) \ | 1965 | #if (defined(MAX_TOUCHPAD_SENSITIVITY_SETTING) \ |