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-iaudiox5.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-iaudiox5.h')
-rw-r--r-- | firmware/export/config-iaudiox5.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index d45f58f14c..82c36437f5 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h | |||
@@ -62,22 +62,6 @@ | |||
62 | 62 | ||
63 | #define CONFIG_LCD LCD_X5 | 63 | #define CONFIG_LCD LCD_X5 |
64 | 64 | ||
65 | /* Main LCD contrast range and defaults */ | ||
66 | #define MIN_CONTRAST_SETTING 1 | ||
67 | #define MAX_CONTRAST_SETTING 30 | ||
68 | #define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */ | ||
69 | |||
70 | /* Remote LCD contrast range and defaults */ | ||
71 | #define MIN_REMOTE_CONTRAST_SETTING 10 | ||
72 | #define MAX_REMOTE_CONTRAST_SETTING 35 | ||
73 | #define DEFAULT_REMOTE_CONTRAST_SETTING 24 /* Match boot contrast */ | ||
74 | |||
75 | /* Main LCD backlight brightness range and defaults */ | ||
76 | /* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */ | ||
77 | #define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */ | ||
78 | #define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */ | ||
79 | #define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */ | ||
80 | |||
81 | /* Define this for LCD backlight available */ | 65 | /* Define this for LCD backlight available */ |
82 | #define CONFIG_BACKLIGHT BL_X5 /* PCF50606 I2C */ | 66 | #define CONFIG_BACKLIGHT BL_X5 /* PCF50606 I2C */ |
83 | #define HAVE_BACKLIGHT_BRIGHTNESS | 67 | #define HAVE_BACKLIGHT_BRIGHTNESS |
@@ -170,3 +154,21 @@ | |||
170 | 154 | ||
171 | /* Define this for FM radio input available */ | 155 | /* Define this for FM radio input available */ |
172 | #define HAVE_FMRADIO_IN | 156 | #define HAVE_FMRADIO_IN |
157 | |||
158 | /** Port-specific settings **/ | ||
159 | |||
160 | /* Main LCD contrast range and defaults */ | ||
161 | #define MIN_CONTRAST_SETTING 1 | ||
162 | #define MAX_CONTRAST_SETTING 30 | ||
163 | #define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */ | ||
164 | |||
165 | /* Main LCD backlight brightness range and defaults */ | ||
166 | /* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */ | ||
167 | #define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */ | ||
168 | #define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */ | ||
169 | #define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */ | ||
170 | |||
171 | /* Remote LCD contrast range and defaults */ | ||
172 | #define MIN_REMOTE_CONTRAST_SETTING 10 | ||
173 | #define MAX_REMOTE_CONTRAST_SETTING 35 | ||
174 | #define DEFAULT_REMOTE_CONTRAST_SETTING 24 /* Match boot contrast */ | ||