diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-10-17 18:57:38 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-10-17 18:57:38 +0000 |
commit | e347146b6268ece5b90bb6cf6fcb5c4e8f9b6a1e (patch) | |
tree | 4b59a351430c3a5d2c51fc36c76c0b3711bf0d2a /apps/settings.h | |
parent | e44af440c50e2d87fcb57a91a8036e108a3b7362 (diff) |
Sleep timer options: persistent duration and start on boot.
This makes the sleep timer persistent, so that the duration is remembered
across reboots. Additionally, it adds a setting to automatically apply
it at boot.
Flyspray: FS#10849
Author: Nick Peskett
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30777 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 927b17bf08..92ffaf9019 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -798,6 +798,9 @@ struct user_settings int compressor_release_time; #endif + int sleeptimer_duration; + bool sleeptimer_on_startup; + #ifdef HAVE_MORSE_INPUT bool morse_input; /* text input method setting */ #endif |