From 10b8e5cfd25ab5bb24b440f984e9f563c6dea24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Voltz?= Date: Mon, 21 Sep 2009 21:48:20 +0200 Subject: [PATCH] add specific motor for DS600 - add MOTOR_DSMOBILE_600 - make pentax DS 600 use new motor description --- backend/genesys_devices.c | 24 +++++++++++++++++++++--- backend/genesys_low.h | 1 + 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/backend/genesys_devices.c b/backend/genesys_devices.c index 83524f5ff..fbca39832 100644 --- a/backend/genesys_devices.c +++ b/backend/genesys_devices.c @@ -657,6 +657,24 @@ static Genesys_Motor Motor[] = { 0.8, },},}, }, + {MOTOR_DSMOBILE_600, /* Pentax DSmobile 600 */ + 750, + 1500, + 1, + 1, + {{{ + 6666, + 3700, + 8, + 0.8, + }, + { + 11000, + 11000, + 2, + 0.8, + },},}, + }, }; /* here we have the various device settings... @@ -1482,12 +1500,12 @@ static Genesys_Model pentax_dsmobile_600_model = { CCD_DSMOBILE600, DAC_WOLFSON_DSM600, GPO_DP665, - MOTOR_ROADWARRIOR, + MOTOR_DSMOBILE_600, GENESYS_FLAG_LAZY_INIT /* Which flags are needed for this scanner? */ | GENESYS_FLAG_SKIP_WARMUP - | GENESYS_FLAG_NO_CALIBRATION, + | GENESYS_FLAG_DARK_CALIBRATION, GENESYS_HAS_SCAN_SW | GENESYS_HAS_PAGE_LOADED_SW, - 300, + 100, 400 }; diff --git a/backend/genesys_low.h b/backend/genesys_low.h index c54b08999..85241b78a 100644 --- a/backend/genesys_low.h +++ b/backend/genesys_low.h @@ -293,6 +293,7 @@ Genesys_Color_Order; #define MOTOR_HP3670 9 #define MOTOR_DP665 10 #define MOTOR_ROADWARRIOR 11 +#define MOTOR_DSMOBILE_600 12 /* Forward typedefs */