HD200 - add support for the device in greylib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25930 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aee2dcf958
commit
a62db97b38
1 changed files with 21 additions and 0 deletions
|
@ -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] = {
|
||||
|
|
Loading…
Reference in a new issue