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