diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-07-31 13:10:33 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-07-31 13:10:33 +0000 |
commit | aea433c3e30a7ab2f836bd516b0104a236612bbf (patch) | |
tree | be6b5d64c926ce6efb8cfdcb82187248ac7f3a47 /firmware/export | |
parent | c687f8c687a203e578611f66108f09e641f8092b (diff) | |
download | rockbox-aea433c3e30a7ab2f836bd516b0104a236612bbf.tar.gz rockbox-aea433c3e30a7ab2f836bd516b0104a236612bbf.zip |
Stop the red. Move some stuff into #ifndef SIMULATOR block.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14102 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-e200.h | 60 |
1 files changed, 32 insertions, 28 deletions
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index 63f617e78d..bbf4ce0c81 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h | |||
@@ -12,10 +12,6 @@ | |||
12 | /* define this if you have recording possibility */ | 12 | /* define this if you have recording possibility */ |
13 | #define HAVE_RECORDING | 13 | #define HAVE_RECORDING |
14 | 14 | ||
15 | #define DEFAULT_REC_MIC_GAIN 23 | ||
16 | #define DEFAULT_REC_LEFT_GAIN 23 | ||
17 | #define DEFAULT_REC_RIGHT_GAIN 23 | ||
18 | |||
19 | #define REC_SAMPR_CAPS (SAMPR_CAP_22) | 15 | #define REC_SAMPR_CAPS (SAMPR_CAP_22) |
20 | #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ | 16 | #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ |
21 | #define REC_SAMPR_DEFAULT SAMPR_22 | 17 | #define REC_SAMPR_DEFAULT SAMPR_22 |
@@ -30,30 +26,6 @@ | |||
30 | /* define this if you have a colour LCD */ | 26 | /* define this if you have a colour LCD */ |
31 | #define HAVE_LCD_COLOR | 27 | #define HAVE_LCD_COLOR |
32 | 28 | ||
33 | /* define this if you have LCD enable function */ | ||
34 | #define HAVE_LCD_ENABLE | ||
35 | |||
36 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
37 | should be defined as well. */ | ||
38 | #define HAVE_LCD_SLEEP | ||
39 | |||
40 | #ifndef SIMULATOR | ||
41 | #define HAVE_HOTSWAP | ||
42 | #define HAVE_MULTIVOLUME | ||
43 | #endif | ||
44 | |||
45 | /* define this if you can invert the colours on your LCD */ | ||
46 | #define HAVE_LCD_INVERT | ||
47 | |||
48 | /* define this if you can flip your LCD */ | ||
49 | #define HAVE_LCD_FLIP | ||
50 | |||
51 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
52 | /* Main LCD backlight brightness range and defaults */ | ||
53 | #define MIN_BRIGHTNESS_SETTING 1 | ||
54 | #define MAX_BRIGHTNESS_SETTING 12 | ||
55 | #define DEFAULT_BRIGHTNESS_SETTING 6 | ||
56 | |||
57 | /* define this if you have a light associated with the buttons */ | 29 | /* define this if you have a light associated with the buttons */ |
58 | #define HAVE_BUTTON_LIGHT | 30 | #define HAVE_BUTTON_LIGHT |
59 | 31 | ||
@@ -108,9 +80,11 @@ | |||
108 | 80 | ||
109 | /* Define this for LCD backlight available */ | 81 | /* Define this for LCD backlight available */ |
110 | #define HAVE_BACKLIGHT | 82 | #define HAVE_BACKLIGHT |
83 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
111 | 84 | ||
112 | #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ | 85 | #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ |
113 | 86 | ||
87 | /** Non-simulator section **/ | ||
114 | #ifndef SIMULATOR | 88 | #ifndef SIMULATOR |
115 | 89 | ||
116 | /* Define this if you have a PortalPlayer PP5024 */ | 90 | /* Define this if you have a PortalPlayer PP5024 */ |
@@ -143,6 +117,22 @@ | |||
143 | /* Type of LCD TODO: hopefully the same as the x5 but check this*/ | 117 | /* Type of LCD TODO: hopefully the same as the x5 but check this*/ |
144 | #define CONFIG_LCD LCD_X5 | 118 | #define CONFIG_LCD LCD_X5 |
145 | 119 | ||
120 | #define HAVE_HOTSWAP | ||
121 | #define HAVE_MULTIVOLUME | ||
122 | |||
123 | /* define this if you have LCD enable function */ | ||
124 | #define HAVE_LCD_ENABLE | ||
125 | |||
126 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
127 | should be defined as well. */ | ||
128 | #define HAVE_LCD_SLEEP | ||
129 | |||
130 | /* define this if you can invert the colours on your LCD */ | ||
131 | #define HAVE_LCD_INVERT | ||
132 | |||
133 | /* define this if you can flip your LCD */ | ||
134 | #define HAVE_LCD_FLIP | ||
135 | |||
146 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are | 136 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are |
147 | only used when loading the old format rockbox.e200 file */ | 137 | only used when loading the old format rockbox.e200 file */ |
148 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | 138 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 |
@@ -179,3 +169,17 @@ | |||
179 | #define INCLUDE_TIMEOUT_API | 169 | #define INCLUDE_TIMEOUT_API |
180 | 170 | ||
181 | #endif /* SIMULATOR */ | 171 | #endif /* SIMULATOR */ |
172 | |||
173 | /** Port-specific settings **/ | ||
174 | |||
175 | /* Main LCD backlight brightness range and defaults */ | ||
176 | #define MIN_BRIGHTNESS_SETTING 1 | ||
177 | #define MAX_BRIGHTNESS_SETTING 12 | ||
178 | #define DEFAULT_BRIGHTNESS_SETTING 6 | ||
179 | |||
180 | /* Default recording levels */ | ||
181 | #define DEFAULT_REC_MIC_GAIN 23 | ||
182 | #define DEFAULT_REC_LEFT_GAIN 23 | ||
183 | #define DEFAULT_REC_RIGHT_GAIN 23 | ||
184 | |||
185 | |||