summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-11-18 13:33:27 +0000
committerNils Wallménius <nils@rockbox.org>2007-11-18 13:33:27 +0000
commit5386cc205fbbd3d0885a496897e5fa41c3eb524e (patch)
treeffc0380790c6dcd99b93ff8ad01a86a6955322b1
parent572ecef486f972cc10475e201e211e9ce63733d8 (diff)
downloadrockbox-5386cc205fbbd3d0885a496897e5fa41c3eb524e.tar.gz
rockbox-5386cc205fbbd3d0885a496897e5fa41c3eb524e.zip
Move a few #defines to target specific config files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15658 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.h21
-rw-r--r--firmware/export/config-fmrecorder.h6
-rw-r--r--firmware/export/config-ondiofm.h6
-rw-r--r--firmware/export/config-ondiosp.h6
-rw-r--r--firmware/export/config-player.h7
-rw-r--r--firmware/export/config-recorder.h6
-rw-r--r--firmware/export/config-recorderv2.h6
7 files changed, 37 insertions, 21 deletions
diff --git a/apps/settings.h b/apps/settings.h
index d4498cf721..482b791d77 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -119,27 +119,6 @@ extern const struct opt_items trig_durations[TRIG_DURATION_COUNT];
119#define FOLDER_ADVANCE_NEXT 1 119#define FOLDER_ADVANCE_NEXT 1
120#define FOLDER_ADVANCE_RANDOM 2 120#define FOLDER_ADVANCE_RANDOM 2
121 121
122/* system defines */
123#ifndef TARGET_TREE
124
125#ifndef HAVE_LCD_COLOR
126#define DEFAULT_CONTRAST_SETTING 40
127#endif
128
129#if defined HAVE_LCD_CHARCELLS
130#define MIN_CONTRAST_SETTING 5
131#define MAX_CONTRAST_SETTING 31
132#else
133#define MIN_CONTRAST_SETTING 5
134#define MAX_CONTRAST_SETTING 63
135#endif
136
137#endif /* !TARGET_TREE */
138
139#if !defined(HAVE_LCD_COLOR)
140#define HAVE_LCD_CONTRAST
141#endif
142
143/* repeat mode options */ 122/* repeat mode options */
144enum 123enum
145{ 124{
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index b237bd5804..170bd27041 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -109,3 +109,9 @@
109#define BOOTDIR "/" 109#define BOOTDIR "/"
110 110
111#endif /* SIMULATOR */ 111#endif /* SIMULATOR */
112
113#define HAVE_LCD_CONTRAST
114
115#define MIN_CONTRAST_SETTING 5
116#define MAX_CONTRAST_SETTING 63
117
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 1a288c5c87..18c0ad7deb 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -122,3 +122,9 @@
122#define BOOTDIR "/" 122#define BOOTDIR "/"
123 123
124#endif /* SIMULATOR */ 124#endif /* SIMULATOR */
125
126#define HAVE_LCD_CONTRAST
127
128#define MIN_CONTRAST_SETTING 5
129#define MAX_CONTRAST_SETTING 63
130
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index 9d3dd729f2..41ee1e068e 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -105,3 +105,9 @@
105#define BOOTDIR "/" 105#define BOOTDIR "/"
106 106
107#endif /* SIMULATOR */ 107#endif /* SIMULATOR */
108
109#define HAVE_LCD_CONTRAST
110
111#define MIN_CONTRAST_SETTING 5
112#define MAX_CONTRAST_SETTING 63
113
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h
index 723b852d3d..b9e3035951 100644
--- a/firmware/export/config-player.h
+++ b/firmware/export/config-player.h
@@ -84,3 +84,10 @@
84#define BOOTDIR "/" 84#define BOOTDIR "/"
85 85
86#endif /* SIMULATOR */ 86#endif /* SIMULATOR */
87
88#define HAVE_LCD_CONTRAST
89
90#define MIN_CONTRAST_SETTING 5
91#define MAX_CONTRAST_SETTING 31
92#define DEFAULT_CONTRAST_SETTING 30
93
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h
index bb57ba5666..a5de2a809c 100644
--- a/firmware/export/config-recorder.h
+++ b/firmware/export/config-recorder.h
@@ -100,3 +100,9 @@
100#define BOOTDIR "/" 100#define BOOTDIR "/"
101 101
102#endif /* SIMULATOR */ 102#endif /* SIMULATOR */
103
104#define HAVE_LCD_CONTRAST
105
106#define MIN_CONTRAST_SETTING 5
107#define MAX_CONTRAST_SETTING 63
108
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h
index f06aa92550..f15879e41b 100644
--- a/firmware/export/config-recorderv2.h
+++ b/firmware/export/config-recorderv2.h
@@ -109,3 +109,9 @@
109#define BOOTDIR "/" 109#define BOOTDIR "/"
110 110
111#endif /* SIMULATOR */ 111#endif /* SIMULATOR */
112
113#define HAVE_LCD_CONTRAST
114
115#define MIN_CONTRAST_SETTING 5
116#define MAX_CONTRAST_SETTING 63
117