diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lib/grey_core.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c index 27f7e585d8..c2e0747718 100644 --- a/apps/plugins/lib/grey_core.c +++ b/apps/plugins/lib/grey_core.c | |||
@@ -298,6 +298,28 @@ static const unsigned char lcdlinear[256] = { | |||
298 | }; | 298 | }; |
299 | #define LCD_SCANRATE 153 /* Hz */ | 299 | #define LCD_SCANRATE 153 /* Hz */ |
300 | 300 | ||
301 | #elif defined MPIO_HD300 /* verified */ | ||
302 | /* Measurement of one iAudio M5L */ | ||
303 | static const unsigned char lcdlinear[256] = { | ||
304 | 4, 6, 8, 10, 11, 13, 15, 17, 19, 21, 22, 24, 25, 27, 28, 30, | ||
305 | 32, 33, 35, 36, 37, 39, 40, 42, 43, 44, 45, 46, 48, 49, 50, 51, | ||
306 | 52, 52, 53, 54, 55, 55, 56, 57, 58, 58, 59, 60, 61, 61, 62, 63, | ||
307 | 64, 64, 65, 65, 66, 66, 67, 67, 68, 68, 69, 70, 70, 71, 72, 72, | ||
308 | 73, 73, 74, 75, 75, 76, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, | ||
309 | 82, 82, 83, 84, 84, 85, 86, 86, 87, 87, 88, 89, 89, 90, 91, 91, | ||
310 | 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 97, 98, 98, 99, 100, 100, | ||
311 | 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 107, 107, 108, 108, | ||
312 | 109, 109, 110, 110, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, | ||
313 | 117, 117, 118, 119, 119, 120, 121, 121, 122, 122, 123, 124, 124, 125, 126, 126, | ||
314 | 127, 127, 128, 129, 130, 130, 131, 132, 133, 133, 134, 135, 135, 136, 137, 137, | ||
315 | 138, 139, 140, 141, 142, 142, 143, 144, 145, 146, 147, 148, 149, 149, 150, 151, | ||
316 | 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 163, 164, 165, 167, 168, 169, | ||
317 | 170, 172, 173, 175, 177, 179, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, | ||
318 | 200, 202, 204, 205, 207, 209, 210, 212, 214, 216, 218, 219, 221, 223, 224, 226, | ||
319 | 228, 230, 231, 233, 235, 236, 237, 239, 241, 243, 244, 246, 248, 249, 250, 252 | ||
320 | }; | ||
321 | #define LCD_SCANRATE 73 /* Hz */ | ||
322 | |||
301 | #else /* not yet calibrated targets - generic linear mapping */ | 323 | #else /* not yet calibrated targets - generic linear mapping */ |
302 | /* TODO: calibrate iFP7xx */ | 324 | /* TODO: calibrate iFP7xx */ |
303 | static const unsigned char lcdlinear[256] = { | 325 | static const unsigned char lcdlinear[256] = { |