diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-09-26 20:46:17 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-09-26 20:46:17 +0000 |
commit | e63649279186e119614b9ca892bcfa27e6af8337 (patch) | |
tree | 0e70869af41405372a2c229370c3d880719e38c7 /firmware/drivers | |
parent | 9e92d06dd16a337dea5d7e80e747a8983e48891f (diff) | |
download | rockbox-e63649279186e119614b9ca892bcfa27e6af8337.tar.gz rockbox-e63649279186e119614b9ca892bcfa27e6af8337.zip |
Fixed remote contrast settings. Maybe'll get some build errors here.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11071 a1c6a512-1295-4272-9138-f99709370657
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 |