summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-remote-1bit-v.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-remote-1bit-v.c')
-rw-r--r--firmware/drivers/lcd-remote-1bit-v.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-remote-1bit-v.c b/firmware/drivers/lcd-remote-1bit-v.c
index 0aa3d890f7..6b5b1fb42f 100644
--- a/firmware/drivers/lcd-remote-1bit-v.c
+++ b/firmware/drivers/lcd-remote-1bit-v.c
@@ -691,6 +691,8 @@ void lcd_remote_invertscroll(int x, int y)
691 691
692 (void)x; 692 (void)x;
693 693
694 if(y>=SCROLLABLE_LINES) return;
695
694 s = &scroll[y]; 696 s = &scroll[y];
695 s->invert = !s->invert; 697 s->invert = !s->invert;
696} 698}
@@ -741,6 +743,8 @@ void lcd_remote_puts_scroll_style_offset(int x, int y, const unsigned char *stri
741 struct scrollinfo* s; 743 struct scrollinfo* s;
742 int w, h; 744 int w, h;
743 745
746 if(y>=SCROLLABLE_LINES) return;
747
744 s = &scroll[y]; 748 s = &scroll[y];
745 749
746 s->start_tick = current_tick + scroll_delay; 750 s->start_tick = current_tick + scroll_delay;