summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-12-15 00:47:21 +0100
committerThomas Martitz <kugel@rockbox.org>2013-12-15 00:47:21 +0100
commited5b853c18ca122cd95826a80c6fb7c952118031 (patch)
tree2963aea1416df1fa5dbfec047c776eb8a6e3f9cc
parentc72b454286864d728de676ebdf92288dd04ace45 (diff)
downloadrockbox-ed5b853.tar.gz
rockbox-ed5b853.zip
Fix more reds.
Change-Id: Ie62386a8f3e9986381f96eb83abb69bfc42b42e1
-rw-r--r--apps/screens.c1
-rw-r--r--firmware/drivers/lcd-2bit-horz.c2
-rw-r--r--firmware/drivers/lcd-2bit-vi.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index a069bf19d9..0334329b5d 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -575,6 +575,7 @@ bool set_time_screen(const char* title, struct tm *tm)
#endif /* defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0) */
#if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)
+#include "scroll_engine.h"
bool shutdown_screen(void)
{
int button;
diff --git a/firmware/drivers/lcd-2bit-horz.c b/firmware/drivers/lcd-2bit-horz.c
index 267a22db3f..1d256e5f58 100644
--- a/firmware/drivers/lcd-2bit-horz.c
+++ b/firmware/drivers/lcd-2bit-horz.c
@@ -385,7 +385,7 @@ void lcd_clear_viewport(void)
current_vp->drawmode = lastmode;
- lcd_scroll_stop(current_vp);
+ lcd_scroll_stop_viewport(current_vp);
}
}
diff --git a/firmware/drivers/lcd-2bit-vi.c b/firmware/drivers/lcd-2bit-vi.c
index b0c41e4fa9..0608dfaa46 100644
--- a/firmware/drivers/lcd-2bit-vi.c
+++ b/firmware/drivers/lcd-2bit-vi.c
@@ -413,7 +413,7 @@ void LCDFN(clear_viewport)(void)
current_vp->drawmode = lastmode;
- LCDFN(scroll_stop)(current_vp);
+ LCDFN(scroll_stop_viewport)(current_vp);
}
}