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.zip
rockbox-5386cc205fbbd3d0885a496897e5fa41c3eb524e.tar.gz
rockbox-5386cc205fbbd3d0885a496897e5fa41c3eb524e.tar.bz2
rockbox-5386cc205fbbd3d0885a496897e5fa41c3eb524e.tar.xz
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 d4498cf..482b791 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -119,27 +119,6 @@ extern const struct opt_items trig_durations[TRIG_DURATION_COUNT];
#define FOLDER_ADVANCE_NEXT 1
#define FOLDER_ADVANCE_RANDOM 2
-/* system defines */
-#ifndef TARGET_TREE
-
-#ifndef HAVE_LCD_COLOR
-#define DEFAULT_CONTRAST_SETTING 40
-#endif
-
-#if defined HAVE_LCD_CHARCELLS
-#define MIN_CONTRAST_SETTING 5
-#define MAX_CONTRAST_SETTING 31
-#else
-#define MIN_CONTRAST_SETTING 5
-#define MAX_CONTRAST_SETTING 63
-#endif
-
-#endif /* !TARGET_TREE */
-
-#if !defined(HAVE_LCD_COLOR)
-#define HAVE_LCD_CONTRAST
-#endif
-
/* repeat mode options */
enum
{
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index b237bd5..170bd27 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -109,3 +109,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
+
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING 5
+#define MAX_CONTRAST_SETTING 63
+
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 1a288c5..18c0ad7 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -122,3 +122,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
+
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING 5
+#define MAX_CONTRAST_SETTING 63
+
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index 9d3dd72..41ee1e0 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -105,3 +105,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
+
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING 5
+#define MAX_CONTRAST_SETTING 63
+
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h
index 723b852..b9e3035 100644
--- a/firmware/export/config-player.h
+++ b/firmware/export/config-player.h
@@ -84,3 +84,10 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
+
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING 5
+#define MAX_CONTRAST_SETTING 31
+#define DEFAULT_CONTRAST_SETTING 30
+
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h
index bb57ba5..a5de2a8 100644
--- a/firmware/export/config-recorder.h
+++ b/firmware/export/config-recorder.h
@@ -100,3 +100,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
+
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING 5
+#define MAX_CONTRAST_SETTING 63
+
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h
index f06aa92..f15879e 100644
--- a/firmware/export/config-recorderv2.h
+++ b/firmware/export/config-recorderv2.h
@@ -109,3 +109,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
+
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING 5
+#define MAX_CONTRAST_SETTING 63
+