From 58825f6e7391a237be85e63bee08f7a0bb66dc38 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 10 Nov 2006 18:47:41 +0000 Subject: 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 --- firmware/export/config-h100.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'firmware/export/config-h100.h') 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 @@ #endif /* !SIMULATOR */ -#define DEFAULT_CONTRAST_SETTING 28 -#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ -#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this*/ -#define DEFAULT_REMOTE_CONTRAST_SETTING 42 -#define MIN_REMOTE_CONTRAST_SETTING MIN_CONTRAST_SETTING -#define MAX_REMOTE_CONTRAST_SETTING MAX_CONTRAST_SETTING - /* Define this for S/PDIF input available */ #define HAVE_SPDIF_IN @@ -173,3 +166,15 @@ /* Define this for FM radio input available */ #define HAVE_FMRADIO_IN + +/** Port-specific settings **/ + +/* Main LCD backlight brightness range and defaults */ +#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ +#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */ +#define DEFAULT_CONTRAST_SETTING 28 + +/* Remote LCD contrast range and defaults */ +#define MIN_REMOTE_CONTRAST_SETTING 5 +#define MAX_REMOTE_CONTRAST_SETTING 63 +#define DEFAULT_REMOTE_CONTRAST_SETTING 42 -- cgit v1.2.3