summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2014-06-01 15:43:39 +0000
committerSzymon Dziok <b0hoon@o2.pl>2014-06-09 01:15:17 +0000
commitf3edbd142ac3add921c45ad82efdf8656467f550 (patch)
tree06dbb3732f6e46f4f111f65bd5a7cd54c6998808
parent6aef81a0f653ecd3cb77635961570d3333b12f77 (diff)
downloadrockbox-f3edbd142ac3add921c45ad82efdf8656467f550.zip
rockbox-f3edbd142ac3add921c45ad82efdf8656467f550.tar.gz
rockbox-f3edbd142ac3add921c45ad82efdf8656467f550.tar.bz2
rockbox-f3edbd142ac3add921c45ad82efdf8656467f550.tar.xz
Samsung YH-920: enable lcd contrast setting, fix default lcd contrast.
Change-Id: I58303feed59754143f57889ab19a21a628d5ed3d
-rw-r--r--firmware/export/config/samsungyh920.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/config/samsungyh920.h b/firmware/export/config/samsungyh920.h
index 6f64e7e..58a8c83 100644
--- a/firmware/export/config/samsungyh920.h
+++ b/firmware/export/config/samsungyh920.h
@@ -57,11 +57,11 @@
#define HAVE_BACKLIGHT
/* Define this if your LCD can set contrast */
-/* todo #define HAVE_LCD_CONTRAST */
+#define HAVE_LCD_CONTRAST
-#define MIN_CONTRAST_SETTING 0
-#define MAX_CONTRAST_SETTING 30
-#define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */
+#define MIN_CONTRAST_SETTING 50
+#define MAX_CONTRAST_SETTING 70
+#define DEFAULT_CONTRAST_SETTING 61 /* Match boot contrast */
/* define this if you can flip your LCD */
/* todo #define HAVE_LCD_FLIP */