diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-11-10 18:47:41 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-11-10 18:47:41 +0000 |
commit | 58825f6e7391a237be85e63bee08f7a0bb66dc38 (patch) | |
tree | 1324b528137ce35623eb3332f32d422331f80777 /firmware/export/config-h120.h | |
parent | f669797d077d081078407dd6dabf4e7389acf68f (diff) | |
download | rockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.tar.gz rockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.zip |
Coldfire targets: Got the rest of the coldfire code out of backlight.c. Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-h120.h')
-rw-r--r-- | firmware/export/config-h120.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index e4c5cfe876..4a8a3c99be 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -150,13 +150,6 @@ | |||
150 | 150 | ||
151 | #endif /* !SIMULATOR */ | 151 | #endif /* !SIMULATOR */ |
152 | 152 | ||
153 | #define DEFAULT_CONTRAST_SETTING 28 | ||
154 | #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ | ||
155 | #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this*/ | ||
156 | #define DEFAULT_REMOTE_CONTRAST_SETTING 42 | ||
157 | #define MIN_REMOTE_CONTRAST_SETTING MIN_CONTRAST_SETTING | ||
158 | #define MAX_REMOTE_CONTRAST_SETTING MAX_CONTRAST_SETTING | ||
159 | |||
160 | /* Define this for S/PDIF input available */ | 153 | /* Define this for S/PDIF input available */ |
161 | #define HAVE_SPDIF_IN | 154 | #define HAVE_SPDIF_IN |
162 | 155 | ||
@@ -171,3 +164,15 @@ | |||
171 | 164 | ||
172 | /* Define this if you have a serial port */ | 165 | /* Define this if you have a serial port */ |
173 | /*#define HAVE_SERIAL*/ | 166 | /*#define HAVE_SERIAL*/ |
167 | |||
168 | /** Port-specific settings **/ | ||
169 | |||
170 | /* Main LCD backlight brightness range and defaults */ | ||
171 | #define DEFAULT_CONTRAST_SETTING 28 | ||
172 | #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ | ||
173 | #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */ | ||
174 | |||
175 | /* Remote LCD contrast range and defaults */ | ||
176 | #define MIN_REMOTE_CONTRAST_SETTING 5 | ||
177 | #define MAX_REMOTE_CONTRAST_SETTING 63 | ||
178 | #define DEFAULT_REMOTE_CONTRAST_SETTING 42 | ||