aboutsummaryrefslogtreecommitdiffstats
path: root/glcd
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-07-22 02:26:16 +0200
committerTectu <joel@unormal.org>2012-07-22 02:26:16 +0200
commit8bc4bc974437c64cc22ae74c1f227588239842c0 (patch)
treece7235ca8de45628e9d11f2aed0c7ceb7e048569 /glcd
parentd0c92628edf94693ae0bb07d9ecc5d581c7ba4be (diff)
downloaduGFX-8bc4bc974437c64cc22ae74c1f227588239842c0.tar.gz
uGFX-8bc4bc974437c64cc22ae74c1f227588239842c0.tar.bz2
uGFX-8bc4bc974437c64cc22ae74c1f227588239842c0.zip
small fix
Diffstat (limited to 'glcd')
-rw-r--r--glcd/glcd.c2
-rw-r--r--glcd/glcd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/glcd/glcd.c b/glcd/glcd.c
index 87fd790b..a419b7f2 100644
--- a/glcd/glcd.c
+++ b/glcd/glcd.c
@@ -257,7 +257,7 @@ static void lcdWriteStream(uint16_t *buffer, uint16_t size) {
chMsgSend(workerThread, (msg_t)&msg);
}
-void lcdVerticalScroll(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, int16_t lines) {
+void lcdVerticalScroll(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t lines) {
struct glcd_msg_vertical_scroll msg;
msg.action = GLCD_VERTICAL_SCROLL;
diff --git a/glcd/glcd.h b/glcd/glcd.h
index a80dc1b8..850d6f35 100644
--- a/glcd/glcd.h
+++ b/glcd/glcd.h
@@ -88,7 +88,7 @@ uint16_t lcdBGR2RGB(uint16_t color);
uint16_t lcdGetPixelColor(uint16_t x, uint16_t y);
/* Scrolling function */
-void lcdVerticalScroll(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, int16_t lines);
+void lcdVerticalScroll(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t lines);
#ifdef __cplusplus
}