summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-17 21:43:00 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-17 21:43:00 +0000
commitbd1bb5f009ca81737882335c6037a17b8e2788b0 (patch)
treeaac81c5dfafa2a33131e3bf52aba0361b8b50390 /apps/settings.c
parentba7dccf15ac7fb03758f03d1bc0e8654c2fe7792 (diff)
downloadrockbox-bd1bb5f009ca81737882335c6037a17b8e2788b0.tar.gz
rockbox-bd1bb5f009ca81737882335c6037a17b8e2788b0.zip
iriver: LCD flip for H1x0 remote, some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6739 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/settings.c b/apps/settings.c
index ea664a13ed..6588a6efd5 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -264,6 +264,7 @@ static const struct bit_entry rtc_bits[] =
264 {1, S_O(remote_invert), false, "remote invert", off_on }, 264 {1, S_O(remote_invert), false, "remote invert", off_on },
265 {5, S_O(remote_backlight_timeout), 5, "remote backlight timeout", 265 {5, S_O(remote_backlight_timeout), 5, "remote backlight timeout",
266 "off,on,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90" }, 266 "off,on,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90" },
267 {1, S_O(remote_flip_display), false, "remote flip display", off_on },
267#endif 268#endif
268 269
269 /* Current sum of bits: 259 (worst case) */ 270 /* Current sum of bits: 259 (worst case) */
@@ -394,7 +395,7 @@ static const struct bit_entry hd_bits[] =
394#endif 395#endif
395 396
396 /* new stuff to be added at the end */ 397 /* new stuff to be added at the end */
397 398
398 /* Sum of all bit sizes must not grow beyond 0xB8*8 = 1472 */ 399 /* Sum of all bit sizes must not grow beyond 0xB8*8 = 1472 */
399}; 400};
400 401
@@ -757,10 +758,11 @@ void settings_apply(void)
757 lcd_set_contrast(global_settings.contrast); 758 lcd_set_contrast(global_settings.contrast);
758 lcd_scroll_speed(global_settings.scroll_speed); 759 lcd_scroll_speed(global_settings.scroll_speed);
759#ifdef HAVE_REMOTE_LCD 760#ifdef HAVE_REMOTE_LCD
760 lcd_remote_set_contrast(global_settings.remote_contrast); 761 lcd_remote_set_contrast(global_settings.remote_contrast);
761 lcd_remote_set_invert_display(global_settings.remote_invert); 762 lcd_remote_set_invert_display(global_settings.remote_invert);
763 lcd_remote_set_flip(global_settings.remote_flip_display);
762 remote_backlight_set_timeout(global_settings.remote_backlight_timeout); 764 remote_backlight_set_timeout(global_settings.remote_backlight_timeout);
763#endif 765#endif
764 backlight_set_timeout(global_settings.backlight_timeout); 766 backlight_set_timeout(global_settings.backlight_timeout);
765 backlight_set_on_when_charging(global_settings.backlight_on_when_charging); 767 backlight_set_on_when_charging(global_settings.backlight_on_when_charging);
766 ata_spindown(global_settings.disk_spindown); 768 ata_spindown(global_settings.disk_spindown);