summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r--firmware/drivers/lcd-recorder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index d2949c8758..42cf016f97 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -93,7 +93,7 @@ static volatile int scrolling_lines=0; /* Bitpattern of which lines are scrollin
93 93
94static void scroll_thread(void); 94static void scroll_thread(void);
95static char scroll_stack[DEFAULT_STACK_SIZE]; 95static char scroll_stack[DEFAULT_STACK_SIZE];
96static char scroll_name[] = "scroll"; 96static const char scroll_name[] = "scroll";
97static char scroll_speed = 8; /* updates per second */ 97static char scroll_speed = 8; /* updates per second */
98static int scroll_delay = HZ/2; /* ticks delay before start */ 98static int scroll_delay = HZ/2; /* ticks delay before start */
99static char scroll_step = 6; /* pixels per scroll step */ 99static char scroll_step = 6; /* pixels per scroll step */
@@ -109,9 +109,9 @@ static int xoffset = 0; /* needed for flip */
109unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; 109unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH];
110 110
111/* All zeros and ones bitmaps for area filling */ 111/* All zeros and ones bitmaps for area filling */
112static unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; 112static const unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
113static unsigned char ones[8] = { 0xff, 0xff, 0xff, 0xff, 113static const unsigned char ones[8] = { 0xff, 0xff, 0xff, 0xff,
114 0xff, 0xff, 0xff, 0xff}; 114 0xff, 0xff, 0xff, 0xff};
115 115
116int lcd_default_contrast(void) 116int lcd_default_contrast(void)
117{ 117{