aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-17 04:10:50 +0200
committerTectu <joel@unormal.org>2012-06-17 04:10:50 +0200
commit534957a2d3bc8fe388e0a36a99956079553947e5 (patch)
treecd096d9c3f8577ff3f9654010bb2924ba490b824
parent37bd82380c84d9433d322dd5decc0bc8add29bb9 (diff)
downloaduGFX-534957a2d3bc8fe388e0a36a99956079553947e5.tar.gz
uGFX-534957a2d3bc8fe388e0a36a99956079553947e5.tar.bz2
uGFX-534957a2d3bc8fe388e0a36a99956079553947e5.zip
ssd1289 fix
-rw-r--r--drivers/lcd/ssd1289_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lcd/ssd1289_lld.c b/drivers/lcd/ssd1289_lld.c
index 7d3353cb..f391a250 100644
--- a/drivers/lcd/ssd1289_lld.c
+++ b/drivers/lcd/ssd1289_lld.c
@@ -101,7 +101,7 @@ __inline void lld_lcdWriteStream(uint16_t *buffer, uint16_t size) {
Set_RS;
- for(i = 0; i < 100; i++) {
+ for(i = 0; i < size; i++) {
palWritePort(LCD_DATA_PORT, buffer[i]);
Clr_WR;