Move a few #defines to target specific config files

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15658 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-11-18 13:33:27 +00:00
parent 572ecef486
commit 5386cc205f
7 changed files with 37 additions and 21 deletions

View file

@ -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
{

View file

@ -109,3 +109,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
#define HAVE_LCD_CONTRAST
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63

View file

@ -122,3 +122,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
#define HAVE_LCD_CONTRAST
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63

View file

@ -105,3 +105,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
#define HAVE_LCD_CONTRAST
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63

View file

@ -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

View file

@ -100,3 +100,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
#define HAVE_LCD_CONTRAST
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63

View file

@ -109,3 +109,9 @@
#define BOOTDIR "/"
#endif /* SIMULATOR */
#define HAVE_LCD_CONTRAST
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63