diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/scroll_engine.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index e21cb8b3ae..cb8585cbba 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c | |||
@@ -99,12 +99,8 @@ void lcd_invertscroll(int x, int y) | |||
99 | if((unsigned)y>=LCD_SCROLLABLE_LINES) return; | 99 | if((unsigned)y>=LCD_SCROLLABLE_LINES) return; |
100 | 100 | ||
101 | s = &lcd_scroll_info.scroll[y]; | 101 | s = &lcd_scroll_info.scroll[y]; |
102 | #ifdef HAVE_LCD_COLOR | ||
103 | s->style = !s->style; /* FIXME: now that the setting isn't bool this seems | 102 | s->style = !s->style; /* FIXME: now that the setting isn't bool this seems |
104 | flawed. */ | 103 | flawed. */ |
105 | #else | ||
106 | s->invert = !s->invert; | ||
107 | #endif | ||
108 | } | 104 | } |
109 | 105 | ||
110 | void lcd_scroll_step(int step) | 106 | void lcd_scroll_step(int step) |
@@ -147,12 +143,8 @@ void lcd_remote_invertscroll(int x, int y) | |||
147 | if((unsigned)y>=LCD_REMOTE_SCROLLABLE_LINES) return; | 143 | if((unsigned)y>=LCD_REMOTE_SCROLLABLE_LINES) return; |
148 | 144 | ||
149 | s = &lcd_remote_scroll_info.scroll[y]; | 145 | s = &lcd_remote_scroll_info.scroll[y]; |
150 | #ifdef HAVE_LCD_COLOR | ||
151 | s->style = !s->style; /* FIXME: now that the setting isn't bool this seems | 146 | s->style = !s->style; /* FIXME: now that the setting isn't bool this seems |
152 | flawed. */ | 147 | flawed. */ |
153 | #else | ||
154 | s->invert = !s->invert; | ||
155 | #endif | ||
156 | } | 148 | } |
157 | 149 | ||
158 | void lcd_remote_stop_scroll(void) | 150 | void lcd_remote_stop_scroll(void) |