diff options
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 24c481144f..80d8a9be57 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c | |||
@@ -216,6 +216,7 @@ void lcd_roll(int lines) | |||
216 | void lcd_clear_display (void) | 216 | void lcd_clear_display (void) |
217 | { | 217 | { |
218 | memset (lcd_framebuffer, 0, sizeof lcd_framebuffer); | 218 | memset (lcd_framebuffer, 0, sizeof lcd_framebuffer); |
219 | lcd_stop_scroll(); | ||
219 | } | 220 | } |
220 | 221 | ||
221 | void lcd_setmargins(int x, int y) | 222 | void lcd_setmargins(int x, int y) |
@@ -290,9 +291,7 @@ void lcd_puts(int x, int y, unsigned char *str) | |||
290 | lcd_putsxy(xpos, ypos, str); | 291 | lcd_putsxy(xpos, ypos, str); |
291 | lcd_clearrect(xpos + w, ypos, LCD_WIDTH - (xpos + w), h); | 292 | lcd_clearrect(xpos + w, ypos, LCD_WIDTH - (xpos + w), h); |
292 | 293 | ||
293 | #if defined(SIMULATOR) && defined(HAVE_LCD_CHARCELLS) | 294 | #if defined(SIMULATOR) |
294 | /* this function is being used when simulating a charcell LCD and | ||
295 | then we update immediately */ | ||
296 | lcd_update(); | 295 | lcd_update(); |
297 | #endif | 296 | #endif |
298 | } | 297 | } |