summaryrefslogtreecommitdiff
path: root/firmware/export/config-h100.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
commit58825f6e7391a237be85e63bee08f7a0bb66dc38 (patch)
tree1324b528137ce35623eb3332f32d422331f80777 /firmware/export/config-h100.h
parentf669797d077d081078407dd6dabf4e7389acf68f (diff)
downloadrockbox-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-h100.h')
-rw-r--r--firmware/export/config-h100.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 8ef227676a..fd84f37061 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -154,13 +154,6 @@
154 154
155#endif /* !SIMULATOR */ 155#endif /* !SIMULATOR */
156 156
157#define DEFAULT_CONTRAST_SETTING 28
158#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
159#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this*/
160#define DEFAULT_REMOTE_CONTRAST_SETTING 42
161#define MIN_REMOTE_CONTRAST_SETTING MIN_CONTRAST_SETTING
162#define MAX_REMOTE_CONTRAST_SETTING MAX_CONTRAST_SETTING
163
164/* Define this for S/PDIF input available */ 157/* Define this for S/PDIF input available */
165#define HAVE_SPDIF_IN 158#define HAVE_SPDIF_IN
166 159
@@ -173,3 +166,15 @@
173 166
174/* Define this for FM radio input available */ 167/* Define this for FM radio input available */
175#define HAVE_FMRADIO_IN 168#define HAVE_FMRADIO_IN
169
170/** Port-specific settings **/
171
172/* Main LCD backlight brightness range and defaults */
173#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
174#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */
175#define DEFAULT_CONTRAST_SETTING 28
176
177/* Remote LCD contrast range and defaults */
178#define MIN_REMOTE_CONTRAST_SETTING 5
179#define MAX_REMOTE_CONTRAST_SETTING 63
180#define DEFAULT_REMOTE_CONTRAST_SETTING 42