summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-h300.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-h300.c')
-rw-r--r--firmware/drivers/lcd-h300.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/drivers/lcd-h300.c b/firmware/drivers/lcd-h300.c
index 1e71da59a8..4edfe404b3 100644
--- a/firmware/drivers/lcd-h300.c
+++ b/firmware/drivers/lcd-h300.c
@@ -49,13 +49,6 @@ void lcd_write_data(const unsigned short* p_bytes, int count)
49 49
50/*** hardware configuration ***/ 50/*** hardware configuration ***/
51 51
52int lcd_default_contrast(void)
53{
54 return 28;
55}
56
57#ifndef SIMULATOR
58
59void lcd_set_contrast(int val) 52void lcd_set_contrast(int val)
60{ 53{
61 (void)val; 54 (void)val;
@@ -84,10 +77,8 @@ void lcd_roll(int lines)
84 (void)lines; 77 (void)lines;
85} 78}
86 79
87#endif /* !SIMULATOR */
88 80
89/* LCD init */ 81/* LCD init */
90#ifndef SIMULATOR
91void lcd_init_device(void) 82void lcd_init_device(void)
92{ 83{
93 /* GPO46 is LCD RESET */ 84 /* GPO46 is LCD RESET */
@@ -216,4 +207,3 @@ void lcd_update_rect(int x, int y, int width, int height)
216 lcd_write_data ((unsigned short *)&lcd_framebuffer[y][x], width); 207 lcd_write_data ((unsigned short *)&lcd_framebuffer[y][x], width);
217 } 208 }
218} 209}
219#endif /* !SIMULATOR */