summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 60ce4b2007..52b8d86aac 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -456,6 +456,16 @@ static bool bidir_limit(void)
456 &lcd_bidir_scroll, 25, 0, 200 ); 456 &lcd_bidir_scroll, 25, 0, 200 );
457} 457}
458 458
459#ifdef HAVE_LCD_CHARCELLS
460static bool jump_scroll(void)
461{
462 char* names[] = { str(LANG_OFF), str(LANG_ONE_TIME), str(LANG_ALWAYS)};
463
464 return set_option(str(LANG_JUMP_SCROLL), &global_settings.jump_scroll,
465 names, 3, lcd_jump_scroll);
466}
467#endif
468
459#ifndef SIMULATOR 469#ifndef SIMULATOR
460/** 470/**
461 * Menu to set the battery capacity 471 * Menu to set the battery capacity
@@ -748,7 +758,10 @@ static bool scroll_settings_menu(void)
748#ifdef HAVE_LCD_BITMAP 758#ifdef HAVE_LCD_BITMAP
749 { str(LANG_SCROLL_STEP), scroll_step }, 759 { str(LANG_SCROLL_STEP), scroll_step },
750#endif 760#endif
751 { str(LANG_BIDIR_SCROLL), bidir_limit }, 761 { str(LANG_BIDIR_SCROLL), bidir_limit },
762#ifdef HAVE_LCD_CHARCELLS
763 { str(LANG_JUMP_SCROLL), jump_scroll },
764#endif
752 }; 765 };
753 766
754 m = menu_init( items, sizeof items / sizeof(struct menu_items) ); 767 m = menu_init( items, sizeof items / sizeof(struct menu_items) );