diff options
Diffstat (limited to 'firmware/export/config-mini2440.h')
-rw-r--r-- | firmware/export/config-mini2440.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/firmware/export/config-mini2440.h b/firmware/export/config-mini2440.h index 83505d8994..557f865454 100644 --- a/firmware/export/config-mini2440.h +++ b/firmware/export/config-mini2440.h | |||
@@ -68,6 +68,10 @@ | |||
68 | /* But the 3.5" LCD touch screen does not support brightness*/ | 68 | /* But the 3.5" LCD touch screen does not support brightness*/ |
69 | #define HAVE_BACKLIGHT | 69 | #define HAVE_BACKLIGHT |
70 | #define HAVE_BACKLIGHT_BRIGHTNESS | 70 | #define HAVE_BACKLIGHT_BRIGHTNESS |
71 | /* Main LCD backlight brightness range and defaults */ | ||
72 | #define MIN_BRIGHTNESS_SETTING 1 /* 0.5 mA */ | ||
73 | #define MAX_BRIGHTNESS_SETTING 12 /* 32 mA */ | ||
74 | #define DEFAULT_BRIGHTNESS_SETTING 10 /* 16 mA */ | ||
71 | 75 | ||
72 | /* Keypad */ | 76 | /* Keypad */ |
73 | #define CONFIG_KEYPAD MINI2440_PAD | 77 | #define CONFIG_KEYPAD MINI2440_PAD |
@@ -93,11 +97,7 @@ | |||
93 | #define BATTERY_CAPACITY_INC 100 /* capacity increment */ | 97 | #define BATTERY_CAPACITY_INC 100 /* capacity increment */ |
94 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 98 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
95 | 99 | ||
96 | /* USB */ | ||
97 | /* TODO:#define HAVE_USBSTACK */ | ||
98 | #define USB_NONE | ||
99 | 100 | ||
100 | #define HAVE_SERIAL | ||
101 | 101 | ||
102 | /***************************************************************************/ | 102 | /***************************************************************************/ |
103 | /* Application Config */ | 103 | /* Application Config */ |
@@ -134,16 +134,19 @@ | |||
134 | #define MCK_FREQ (CPU_FREQ/4) | 134 | #define MCK_FREQ (CPU_FREQ/4) |
135 | #define SLOW_CLOCK 32768 | 135 | #define SLOW_CLOCK 32768 |
136 | 136 | ||
137 | /* Main LCD backlight brightness range and defaults */ | 137 | |
138 | #define MIN_BRIGHTNESS_SETTING 1 /* 0.5 mA */ | ||
139 | #define MAX_BRIGHTNESS_SETTING 12 /* 32 mA */ | ||
140 | #define DEFAULT_BRIGHTNESS_SETTING 10 /* 16 mA */ | ||
141 | /* Define this if your LCD can set contrast */ | 138 | /* Define this if your LCD can set contrast */ |
142 | #define HAVE_LCD_CONTRAST | 139 | #define HAVE_LCD_CONTRAST |
143 | #define MIN_CONTRAST_SETTING 0 | 140 | #define MIN_CONTRAST_SETTING 0 |
144 | #define MAX_CONTRAST_SETTING 63 | 141 | #define MAX_CONTRAST_SETTING 63 |
145 | #define DEFAULT_CONTRAST_SETTING 47 /* Match boot contrast */ | 142 | #define DEFAULT_CONTRAST_SETTING 47 /* Match boot contrast */ |
146 | 143 | ||
144 | /* USB */ | ||
145 | /* TODO:#define HAVE_USBSTACK */ | ||
146 | #define USB_NONE | ||
147 | |||
148 | #define HAVE_SERIAL | ||
149 | |||
147 | /* Hardware controlled charging with monitoring */ | 150 | /* Hardware controlled charging with monitoring */ |
148 | #define CONFIG_CHARGING CHARGING_MONITOR | 151 | #define CONFIG_CHARGING CHARGING_MONITOR |
149 | /*#define POWER_INPUT_BATTERY 0*/ | 152 | /*#define POWER_INPUT_BATTERY 0*/ |