LiDE 120 working [75-300] dpi

- fix sensor pixel number
- enable calibration
- default to 16 pixel DUMMY
merge-requests/1/head
Stéphane Voltz 2016-02-23 21:39:22 +01:00
rodzic 4fd1d10228
commit 219198838b
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -683,7 +683,8 @@ static Genesys_Sensor Sensor[] = {
87, /* black pixels */ 87, /* black pixels */
16, /* dummy pixels 16 */ 16, /* dummy pixels 16 */
303, 303,
5168*4, /* total pixels */ /* SEGCNT at 600 DPI by number of segments */
5104*4, /* total pixels */
210, 210,
200, 200,
{0x00, 0x00, 0x00, 0x00}, {0x00, 0x00, 0x00, 0x00},
@ -1979,7 +1980,6 @@ static Genesys_Model canon_lide_120_model = {
GPO_CANONLIDE120, GPO_CANONLIDE120,
MOTOR_CANONLIDE120, MOTOR_CANONLIDE120,
GENESYS_FLAG_SKIP_WARMUP GENESYS_FLAG_SKIP_WARMUP
| GENESYS_FLAG_NO_CALIBRATION
| GENESYS_FLAG_OFFSET_CALIBRATION | GENESYS_FLAG_OFFSET_CALIBRATION
| GENESYS_FLAG_DARK_CALIBRATION | GENESYS_FLAG_DARK_CALIBRATION
| GENESYS_FLAG_HALF_CCD_MODE | GENESYS_FLAG_HALF_CCD_MODE

Wyświetl plik

@ -488,7 +488,7 @@ gl124_init_registers (Genesys_Device * dev)
else else
{ {
SETREG (0x80,0x00); SETREG (0x80,0x00);
SETREG (0x81,0x06); SETREG (0x81,0x10);
} }
/* STRPIXEL */ /* STRPIXEL */