diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index a200c7bcb1..75d42f8371 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c | |||
@@ -73,8 +73,6 @@ static int xmargin = 0; | |||
73 | static int ymargin = 0; | 73 | static int ymargin = 0; |
74 | static int curfont = FONT_SYSFIXED; | 74 | static int curfont = FONT_SYSFIXED; |
75 | 75 | ||
76 | #define LCD_REMOTE_DEFAULT_CONTRAST 42; | ||
77 | |||
78 | #ifndef SIMULATOR | 76 | #ifndef SIMULATOR |
79 | static int xoffset; /* needed for flip */ | 77 | static int xoffset; /* needed for flip */ |
80 | 78 | ||
@@ -99,7 +97,7 @@ static int _remote_type = REMOTETYPE_UNPLUGGED; | |||
99 | /* cached settings values */ | 97 | /* cached settings values */ |
100 | static bool cached_invert = false; | 98 | static bool cached_invert = false; |
101 | static bool cached_flip = false; | 99 | static bool cached_flip = false; |
102 | static int cached_contrast = LCD_REMOTE_DEFAULT_CONTRAST; | 100 | static int cached_contrast = DEFAULT_REMOTE_CONTRAST_SETTING; |
103 | #endif | 101 | #endif |
104 | 102 | ||
105 | /* scrolling */ | 103 | /* scrolling */ |
@@ -397,7 +395,7 @@ void lcd_remote_write_data(const unsigned char* p_bytes, int count) | |||
397 | 395 | ||
398 | int lcd_remote_default_contrast(void) | 396 | int lcd_remote_default_contrast(void) |
399 | { | 397 | { |
400 | return LCD_REMOTE_DEFAULT_CONTRAST; | 398 | return DEFAULT_REMOTE_CONTRAST_SETTING; |
401 | } | 399 | } |
402 | 400 | ||
403 | #ifndef SIMULATOR | 401 | #ifndef SIMULATOR |