diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd-h100.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 7047578550..075ba394b6 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c | |||
@@ -84,10 +84,14 @@ static int xoffset = 0; /* needed for flip */ | |||
84 | 84 | ||
85 | unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; | 85 | unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; |
86 | 86 | ||
87 | /* All zeros and ones bitmaps for area filling */ | 87 | /* All zeros and ones bitmaps for area filling */ |
88 | static const unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; | 88 | static const unsigned char zeros[16] = { |
89 | static const unsigned char ones[8] = { 0xff, 0xff, 0xff, 0xff, | 89 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 |
90 | 0xff, 0xff, 0xff, 0xff}; | 90 | }; |
91 | static const unsigned char ones[16] = { | ||
92 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
93 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff | ||
94 | }; | ||
91 | 95 | ||
92 | int lcd_default_contrast(void) | 96 | int lcd_default_contrast(void) |
93 | { | 97 | { |