summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-h100.c12
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
85unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; 85unsigned 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 */
88static const unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; 88static const unsigned char zeros[16] = {
89static 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};
91static 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
92int lcd_default_contrast(void) 96int lcd_default_contrast(void)
93{ 97{