diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2005-11-19 07:58:20 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-11-19 07:58:20 +0000 |
| commit | 05fdb1ad30bbeeabe3cb74f4f5d366a53c8f3cef (patch) | |
| tree | 83081b5d7b933b118a4672b4cf0c4750220ed69b /apps/settings_menu.c | |
| parent | 80ed9ead8748f2f569b35a7af1f9487990b10c42 (diff) | |
| download | rockbox-05fdb1ad30bbeeabe3cb74f4f5d366a53c8f3cef.zip rockbox-05fdb1ad30bbeeabe3cb74f4f5d366a53c8f3cef.tar.gz rockbox-05fdb1ad30bbeeabe3cb74f4f5d366a53c8f3cef.tar.bz2 rockbox-05fdb1ad30bbeeabe3cb74f4f5d366a53c8f3cef.tar.xz | |
Added option to reduce (and almost prevent) the remote lcd ticking
problem with a cost slightly more CPU usage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7985 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
| -rw-r--r-- | apps/settings_menu.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 27e2434..05fcacf 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -120,6 +120,16 @@ static bool remote_flip_display(void) return rc; } + +static bool remote_reduce_ticking(void) +{ + bool rc = set_bool( str(LANG_REDUCE_TICKING), + &global_settings.remote_reduce_ticking); + + lcd_remote_emireduce(global_settings.remote_reduce_ticking); + + return rc; +} #endif #ifdef CONFIG_BACKLIGHT @@ -1540,7 +1550,8 @@ static bool lcd_remote_settings_menu(void) { ID2P(LANG_CONTRAST), remote_contrast }, { ID2P(LANG_INVERT), remote_invert }, { ID2P(LANG_FLIP_DISPLAY), remote_flip_display }, - }; + { ID2P(LANG_REDUCE_TICKING), remote_reduce_ticking }, +}; m=menu_init( items, sizeof(items) / sizeof(*items), NULL, NULL, NULL, NULL); |