diff options
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 8 |
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 | ||
94 | static void scroll_thread(void); | 94 | static void scroll_thread(void); |
95 | static char scroll_stack[DEFAULT_STACK_SIZE]; | 95 | static char scroll_stack[DEFAULT_STACK_SIZE]; |
96 | static char scroll_name[] = "scroll"; | 96 | static const char scroll_name[] = "scroll"; |
97 | static char scroll_speed = 8; /* updates per second */ | 97 | static char scroll_speed = 8; /* updates per second */ |
98 | static int scroll_delay = HZ/2; /* ticks delay before start */ | 98 | static int scroll_delay = HZ/2; /* ticks delay before start */ |
99 | static char scroll_step = 6; /* pixels per scroll step */ | 99 | static char scroll_step = 6; /* pixels per scroll step */ |
@@ -109,9 +109,9 @@ static int xoffset = 0; /* needed for flip */ | |||
109 | unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; | 109 | unsigned 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 */ |
112 | static unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; | 112 | static const unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; |
113 | static unsigned char ones[8] = { 0xff, 0xff, 0xff, 0xff, | 113 | static const unsigned char ones[8] = { 0xff, 0xff, 0xff, 0xff, |
114 | 0xff, 0xff, 0xff, 0xff}; | 114 | 0xff, 0xff, 0xff, 0xff}; |
115 | 115 | ||
116 | int lcd_default_contrast(void) | 116 | int lcd_default_contrast(void) |
117 | { | 117 | { |