summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-10-21 23:36:09 +0200
committerWilliam Wilgus <me.theuser@yahoo.com>2021-12-08 22:26:38 -0500
commit7e0e4fe888eba8133a753bb2abc748b0c404e9f5 (patch)
tree81bb6a5aecb8a2dee19ff03bd649010d7da87d27 /apps/settings.h
parent5433ea540555f18d3986c5067c6f26ddf497bd9b (diff)
downloadrockbox-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.h')
-rw-r--r--apps/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index ce7421d95e..4374cc720b 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -761,6 +761,9 @@ struct user_settings
761 bool sleeptimer_on_startup; 761 bool sleeptimer_on_startup;
762 bool keypress_restarts_sleeptimer; 762 bool keypress_restarts_sleeptimer;
763 763
764 bool show_shutdown_message; /* toggle whether display lights up and displays message
765 when shutting down */
766
764#ifdef HAVE_MORSE_INPUT 767#ifdef HAVE_MORSE_INPUT
765 bool morse_input; /* text input method setting */ 768 bool morse_input; /* text input method setting */
766#endif 769#endif