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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-remote-1bit-v.c b/firmware/drivers/lcd-remote-1bit-v.c
index 480df73c2d..9bfbf580d9 100644
--- a/firmware/drivers/lcd-remote-1bit-v.c
+++ b/firmware/drivers/lcd-remote-1bit-v.c
@@ -685,9 +685,8 @@ void lcd_remote_puts_scroll_style_offset(int x, int y, const unsigned char *stri
685 s = &lcd_remote_scroll_info.scroll[y]; 685 s = &lcd_remote_scroll_info.scroll[y];
686 686
687 s->start_tick = current_tick + lcd_remote_scroll_info.delay; 687 s->start_tick = current_tick + lcd_remote_scroll_info.delay;
688 s->invert = false; 688 s->style = style;
689 if (style & STYLE_INVERT) { 689 if (style & STYLE_INVERT) {
690 s->invert = true;
691 lcd_remote_puts_style_offset(x,y,string,STYLE_INVERT,offset); 690 lcd_remote_puts_style_offset(x,y,string,STYLE_INVERT,offset);
692 } 691 }
693 else 692 else
@@ -783,7 +782,7 @@ void lcd_remote_scroll_fn(void)
783 } 782 }
784 783
785 lastmode = drawmode; 784 lastmode = drawmode;
786 drawmode = s->invert ? 785 drawmode = (s->style&STYLE_INVERT) ?
787 (DRMODE_SOLID|DRMODE_INVERSEVID) : DRMODE_SOLID; 786 (DRMODE_SOLID|DRMODE_INVERSEVID) : DRMODE_SOLID;
788 lcd_remote_putsxyofs(xpos, ypos, s->offset, s->line); 787 lcd_remote_putsxyofs(xpos, ypos, s->offset, s->line);
789 drawmode = lastmode; 788 drawmode = lastmode;