summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-charcell.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-charcell.c')
-rw-r--r--firmware/drivers/lcd-charcell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-charcell.c b/firmware/drivers/lcd-charcell.c
index b59b270f9b..bdd02de1b6 100644
--- a/firmware/drivers/lcd-charcell.c
+++ b/firmware/drivers/lcd-charcell.c
@@ -377,7 +377,7 @@ void lcd_clear_viewport(void)
377 for (y = 0; y < current_vp->height; y++) 377 for (y = 0; y < current_vp->height; y++)
378 lcd_putxchar(x, y, xspace); 378 lcd_putxchar(x, y, xspace);
379 379
380 lcd_scroll_stop(current_vp); 380 lcd_scroll_stop_viewport(current_vp);
381 } 381 }
382} 382}
383 383
@@ -486,7 +486,7 @@ void lcd_puts_offset(int x, int y, const unsigned char *str, int offset)
486 return; 486 return;
487 487
488 /* make sure scrolling is turned off on the line we are updating */ 488 /* make sure scrolling is turned off on the line we are updating */
489 lcd_scroll_stop_line(current_vp, y); 489 lcd_scroll_stop_viewport_line(current_vp, y);
490 490
491 x = lcd_putsxyofs(x, y, offset, str); 491 x = lcd_putsxyofs(x, y, offset, str);
492 while (x < current_vp->width) 492 while (x < current_vp->width)
@@ -509,7 +509,7 @@ void lcd_puts_scroll_offset(int x, int y, const unsigned char *string,
509 return; 509 return;
510 510
511 /* remove any previously scrolling line at the same location */ 511 /* remove any previously scrolling line at the same location */
512 lcd_scroll_stop_line(current_vp, y); 512 lcd_scroll_stop_viewport_line(current_vp, y);
513 513
514 if (lcd_scroll_info.lines >= LCD_SCROLLABLE_LINES) return; 514 if (lcd_scroll_info.lines >= LCD_SCROLLABLE_LINES) return;
515 515