aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;