summaryrefslogtreecommitdiffstats
path: root/firmware/export/config
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-08-28 01:13:44 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-29 04:31:37 +0000
commit31a1a2900423056c18f5d2afd467fb53688058c1 (patch)
tree32497607b202a51195b5584fa101c72c00b7a9ea /firmware/export/config
parent5e335f5c33cb9e72c6615c503a876e57b8176dab (diff)
downloadrockbox-31a1a2900423056c18f5d2afd467fb53688058c1.tar.gz
rockbox-31a1a2900423056c18f5d2afd467fb53688058c1.zip
Xduoo X3 Tweak LCD settings
Adds contrast setting which actually sets the drive voltage Change-Id: I173238e2efe9e50c6ef4cda9bf991e7ee5568ff5
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/xduoox3.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h
index e5b5ed9a10..fa86caf511 100644
--- a/firmware/export/config/xduoox3.h
+++ b/firmware/export/config/xduoox3.h
@@ -45,6 +45,13 @@
#define LCD_BL_DARKCOLOR 0x000000
#define LCD_BL_BRIGHTCOLOR 0x0de2e5
+/* Define this if your LCD can set contrast */
+#define HAVE_LCD_CONTRAST
+
+#define MIN_CONTRAST_SETTING -9
+#define MAX_CONTRAST_SETTING -1
+#define DEFAULT_CONTRAST_SETTING -6
+
/* define this if you have LCD enable function */
#define HAVE_LCD_ENABLE