summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/lcd.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index d8a097214a..e85d79f038 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -112,7 +112,8 @@ struct scrollinfo {
112}; 112};
113 113
114static void scroll_thread(void); 114static void scroll_thread(void);
115static char scroll_stack[0x800]; 115static char scroll_stack[DEFAULT_STACK_SIZE];
116static char scroll_name[] = "scroll";
116static char scroll_speed = 8; /* updates per second */ 117static char scroll_speed = 8; /* updates per second */
117static char scroll_spacing = 3; /* spaces between end and start of text */ 118static char scroll_spacing = 3; /* spaces between end and start of text */
118 119
@@ -381,7 +382,8 @@ void lcd_double_height(bool on)
381#if defined(HAVE_LCD_CHARCELLS) || defined(SIMULATOR) /* not BITMAP */ 382#if defined(HAVE_LCD_CHARCELLS) || defined(SIMULATOR) /* not BITMAP */
382void lcd_init (void) 383void lcd_init (void)
383{ 384{
384 create_thread(scroll_thread, scroll_stack, sizeof(scroll_stack)); 385 create_thread(scroll_thread, scroll_stack,
386 sizeof(scroll_stack), scroll_name);
385} 387}
386#endif 388#endif
387 389
@@ -439,7 +441,8 @@ void lcd_init (void)
439 441
440 lcd_clear_display(); 442 lcd_clear_display();
441 lcd_update(); 443 lcd_update();
442 create_thread(scroll_thread, scroll_stack, sizeof(scroll_stack)); 444 create_thread(scroll_thread, scroll_stack,
445 sizeof(scroll_stack), scroll_name);
443} 446}
444 447
445/* 448/*