diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-26 15:20:00 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-09 22:07:48 +0100 |
commit | eaccdeeae2ff57efe1859ba80b7558b328e16a10 (patch) | |
tree | f275d5695b28037b26170d2c085ed177bd6f83d3 /firmware/scroll_engine.c | |
parent | 4f9e4ddb9914ff73259f006a4cbcf520656f06e0 (diff) | |
download | rockbox-eaccdeeae2ff57efe1859ba80b7558b328e16a10.tar.gz rockbox-eaccdeeae2ff57efe1859ba80b7558b328e16a10.zip |
lcd: Remove internal function get_viewport()
Only the scroll engine calls this, but it's easily replaced
by the return value of set_viewport_ex().
Change-Id: I2e2c8234f969bc07c9ff7d864e58551115175e26
Diffstat (limited to 'firmware/scroll_engine.c')
-rw-r--r-- | firmware/scroll_engine.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index 91f9d1f868..913b4778a7 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c | |||
@@ -37,14 +37,6 @@ | |||
37 | #endif | 37 | #endif |
38 | #include "scroll_engine.h" | 38 | #include "scroll_engine.h" |
39 | 39 | ||
40 | |||
41 | /* private helper function for the scroll engine. Do not use in apps/. | ||
42 | * defined in lcd-bitmap-common.c */ | ||
43 | extern struct viewport *lcd_get_viewport(bool *is_defaut); | ||
44 | #ifdef HAVE_REMOTE_LCD | ||
45 | extern struct viewport *lcd_remote_get_viewport(bool *is_defaut); | ||
46 | #endif | ||
47 | |||
48 | static const char scroll_tick_table[18] = { | 40 | static const char scroll_tick_table[18] = { |
49 | /* Hz values [f(x)=100.8/(x+.048)]: | 41 | /* Hz values [f(x)=100.8/(x+.048)]: |
50 | 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 */ | 42 | 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 */ |