kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Improve motor tables on OpticFilm 7200i
rodzic
0b75ffdf36
commit
8b3b85c160
|
@ -796,6 +796,7 @@ static bool should_use_new_fast_table(const Genesys_Device& dev)
|
|||
switch (dev.model->model_id) {
|
||||
case ModelId::CANON_8600F:
|
||||
case ModelId::CANON_8400F:
|
||||
case ModelId::PLUSTEK_OPTICFILM_7200I:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
|
@ -405,7 +405,19 @@ void genesys_init_motor_tables()
|
|||
motor.id = MotorId::PLUSTEK_OPTICFILM_7200I;
|
||||
motor.base_ydpi = 3600;
|
||||
motor.optical_ydpi = 3600;
|
||||
motor.profiles.push_back({MotorSlope::create_from_steps(39682, 1191, 15), StepType::HALF, 0});
|
||||
|
||||
profile = MotorProfile();
|
||||
profile.slope = MotorSlope::create_from_steps(34722 * 2, 454 * 2, 40);
|
||||
profile.step_type = StepType::HALF;
|
||||
profile.motor_vref = 3;
|
||||
motor.profiles.push_back(std::move(profile));
|
||||
|
||||
profile = MotorProfile();
|
||||
profile.slope = MotorSlope::create_from_steps(34722 * 2, 454 * 2, 40);
|
||||
profile.step_type = StepType::HALF;
|
||||
profile.motor_vref = 0;
|
||||
motor.fast_profiles.push_back(std::move(profile));
|
||||
|
||||
s_motors->push_back(std::move(motor));
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue