diff --git a/apps/settings_list.c b/apps/settings_list.c index 7c74a592ee..44295ac5aa 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -967,7 +967,7 @@ const struct settings_list settings[] = { #endif #endif /* HAVE_BACKLIGHT */ INT_SETTING(F_PADTITLE, scroll_speed, LANG_SCROLL_SPEED, 9,"scroll speed", - UNIT_INT, 0, 15, 1, NULL, NULL, lcd_scroll_speed), + UNIT_INT, 0, 17, 1, NULL, NULL, lcd_scroll_speed), INT_SETTING(F_PADTITLE, scroll_delay, LANG_SCROLL_DELAY, 1000, "scroll delay", UNIT_MS, 0, 2500, 100, NULL, NULL, lcd_scroll_delay), @@ -975,7 +975,7 @@ const struct settings_list settings[] = { UNIT_PERCENT, 0, 200, 25, NULL, NULL, lcd_bidir_scroll), #ifdef HAVE_REMOTE_LCD INT_SETTING(0, remote_scroll_speed, LANG_SCROLL_SPEED, 9, - "remote scroll speed", UNIT_INT, 0,15, 1, + "remote scroll speed", UNIT_INT, 0,17, 1, NULL, NULL, lcd_remote_scroll_speed), INT_SETTING(0, remote_scroll_step, LANG_SCROLL_STEP, 6, "remote scroll step", UNIT_PIXEL, 1, LCD_REMOTE_WIDTH, 1, NULL, diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index 5dd80f1a07..bc356a8281 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c @@ -35,10 +35,10 @@ #endif #include "scroll_engine.h" -static const char scroll_tick_table[16] = { - /* Hz values: - 1, 1.25, 1.55, 2, 2.5, 3.12, 4, 5, 6.25, 8.33, 10, 12.5, 16.7, 20, 25, 33 */ - 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3 +static const char scroll_tick_table[18] = { + /* Hz values [f(x)=100.8/(x+.048)]: + 1, 1.25, 1.55, 2, 2.5, 3.12, 4, 5, 6.25, 8.33, 10, 12.5, 16.7, 20, 25, 33, 49.2, 96.2 */ + 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3, 2, 1 }; static void scroll_thread(void);