summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-05-10 13:06:38 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-05-10 13:06:38 +0000
commita62db97b38595235c0016e87f23c7a9b421eb5c0 (patch)
tree6bfe74c371db76bb1fda32296fe47e0df8639f13 /apps/plugins/lib
parentaee2dcf95855a374a52ee622d97b59d5f16cf396 (diff)
downloadrockbox-a62db97b38595235c0016e87f23c7a9b421eb5c0.zip
rockbox-a62db97b38595235c0016e87f23c7a9b421eb5c0.tar.gz
rockbox-a62db97b38595235c0016e87f23c7a9b421eb5c0.tar.bz2
rockbox-a62db97b38595235c0016e87f23c7a9b421eb5c0.tar.xz
HD200 - add support for the device in greylib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/grey_core.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c
index f61743b..a51bd0f 100644
--- a/apps/plugins/lib/grey_core.c
+++ b/apps/plugins/lib/grey_core.c
@@ -228,6 +228,27 @@ static const unsigned char lcdlinear[256] = {
};
#define LCD_SCANRATE 78 /* Hz */
+#elif defined MPIO_HD200
+static const unsigned char lcdlinear[256] = {
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
+ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
+ 32, 32, 32, 32, 32, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 35,
+ 35, 35, 36, 36, 36, 37, 37, 38, 38, 38, 39, 39, 40, 40, 40, 41,
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 54, 56, 58, 60, 61,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
+ 78, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
+ 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 109,
+110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
+125, 126, 127, 129, 130, 132, 133, 134, 136, 137, 138, 140, 141, 142, 144, 145,
+146, 145, 147, 149, 150, 152, 153, 154, 156, 157, 158, 160, 162, 164, 165, 166,
+167, 167, 168, 168, 169, 169, 170, 170, 171, 171, 172, 172, 173, 174, 175, 176,
+177, 177, 178, 178, 179, 179, 180, 180, 181, 181, 182, 182, 183, 184, 185, 186,
+187, 188, 188, 189, 190, 190, 191, 192, 192, 193, 194, 195, 196, 197, 197, 198,
+198, 201, 205, 208, 212, 215, 219, 222, 226, 229, 233, 236, 240, 243, 247, 252
+};
+#define LCD_SCANRATE 146 /* Hz */
+
#else /* not yet calibrated targets - generic linear mapping */
/* TODO: calibrate iFP7xx */
static const unsigned char lcdlinear[256] = {