aboutsummaryrefslogtreecommitdiffstats
path: root/glcd/glcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'glcd/glcd.c')
-rw-r--r--glcd/glcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glcd/glcd.c b/glcd/glcd.c
index 6c3a830b..58220559 100644
--- a/glcd/glcd.c
+++ b/glcd/glcd.c
@@ -253,7 +253,7 @@ glcd_result_t lcdWriteStream(uint16_t *buffer, uint16_t size) {
return (glcd_result_t)chMsgSend(workerThread, (msg_t)&msg);
}
-glcd_result_t lcdVerticalScroll(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t lines) {
+glcd_result_t lcdVerticalScroll(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, int16_t lines) {
struct glcd_msg_vertical_scroll msg;
msg.action = GLCD_VERTICAL_SCROLL;