diff options
author | Tectu <joel@unormal.org> | 2012-07-25 04:00:30 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-07-25 04:00:30 +0200 |
commit | 999486233dd5ec388a8c1c676c19effc6047b090 (patch) | |
tree | 80a84b33c84d52864dd0644a02730222be7aeb88 /glcd | |
parent | fe61558e8883d45fbe13e121c6885ea77d42f6e8 (diff) | |
download | uGFX-999486233dd5ec388a8c1c676c19effc6047b090.tar.gz uGFX-999486233dd5ec388a8c1c676c19effc6047b090.tar.bz2 uGFX-999486233dd5ec388a8c1c676c19effc6047b090.zip |
lcdVerticalScroll() fix
Diffstat (limited to 'glcd')
-rw-r--r-- | glcd/glcd.c | 2 | ||||
-rw-r--r-- | glcd/glcd.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/glcd/glcd.h b/glcd/glcd.h index 4ae26233..4048fbe8 100644 --- a/glcd/glcd.h +++ b/glcd/glcd.h @@ -89,7 +89,7 @@ uint16_t lcdBGR2RGB(uint16_t color); uint16_t lcdGetPixelColor(uint16_t x, uint16_t y); /* Scrolling function */ -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); #ifdef __cplusplus } |