genesys: Use quarter step for high-resolution scans on LiDE 35,50

merge-requests/463/merge
Povilas Kanapickas 2020-05-18 03:53:28 +03:00
rodzic cf8f9c75f9
commit b35345ae7a
1 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -107,10 +107,15 @@ void genesys_init_motor_tables()
motor.id = MotorId::CANON_LIDE_35; motor.id = MotorId::CANON_LIDE_35;
motor.base_ydpi = 1200; motor.base_ydpi = 1200;
profile = MotorProfile{MotorSlope::create_from_steps(3500, 1300, 60), StepType::HALF, 0}; profile = MotorProfile{MotorSlope::create_from_steps(3500, 1300, 150), StepType::HALF, 0};
profile.resolutions = { 75, 150, 200, 300, 600 };
motor.profiles.push_back(profile); motor.profiles.push_back(profile);
profile = MotorProfile{MotorSlope::create_from_steps(3500, 1400, 60), StepType::FULL, 0}; profile = MotorProfile{MotorSlope::create_from_steps(3500, 1300, 150), StepType::QUARTER, 0};
profile.resolutions = { 1200, 2400 };
motor.profiles.push_back(profile);
profile = MotorProfile{MotorSlope::create_from_steps(3500, 2000, 150), StepType::FULL, 0};
motor.fast_profiles.push_back(profile); motor.fast_profiles.push_back(profile);
s_motors->push_back(std::move(motor)); s_motors->push_back(std::move(motor));