kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Improve motor tables on OpticFilm 7500i
rodzic
f3f0143500
commit
d19e48d5ab
|
@ -798,6 +798,7 @@ static bool should_use_new_fast_table(const Genesys_Device& dev)
|
|||
case ModelId::CANON_8400F:
|
||||
case ModelId::PLUSTEK_OPTICFILM_7200I:
|
||||
case ModelId::PLUSTEK_OPTICFILM_7300:
|
||||
case ModelId::PLUSTEK_OPTICFILM_7500I:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
|
@ -445,8 +445,19 @@ void genesys_init_motor_tables()
|
|||
motor.id = MotorId::PLUSTEK_OPTICFILM_7500I;
|
||||
motor.base_ydpi = 3600;
|
||||
motor.optical_ydpi = 3600;
|
||||
motor.profiles.push_back({MotorSlope::create_from_steps(31250, 1375, 7),
|
||||
StepType::QUARTER, 0});
|
||||
|
||||
profile = MotorProfile();
|
||||
profile.slope = MotorSlope::create_from_steps(56818 * 4, 454 * 4, 30);
|
||||
profile.step_type = StepType::QUARTER;
|
||||
profile.motor_vref = 3;
|
||||
motor.profiles.push_back(std::move(profile));
|
||||
|
||||
profile = MotorProfile();
|
||||
profile.slope = MotorSlope::create_from_steps(56818 * 4, 454 * 4, 30);
|
||||
profile.step_type = StepType::QUARTER;
|
||||
profile.motor_vref = 0;
|
||||
motor.fast_profiles.push_back(std::move(profile));
|
||||
|
||||
s_motors->push_back(std::move(motor));
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue