diff options
author | Tectu <joel@unormal.org> | 2012-06-17 04:10:50 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-06-17 04:10:50 +0200 |
commit | 534957a2d3bc8fe388e0a36a99956079553947e5 (patch) | |
tree | cd096d9c3f8577ff3f9654010bb2924ba490b824 | |
parent | 37bd82380c84d9433d322dd5decc0bc8add29bb9 (diff) | |
download | uGFX-534957a2d3bc8fe388e0a36a99956079553947e5.tar.gz uGFX-534957a2d3bc8fe388e0a36a99956079553947e5.tar.bz2 uGFX-534957a2d3bc8fe388e0a36a99956079553947e5.zip |
ssd1289 fix
-rw-r--r-- | drivers/lcd/ssd1289_lld.c | 2 |
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; |