kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Add extra sleep during scan stop for gl646
rodzic
4bf176c73e
commit
e2bb81ef01
|
@ -1406,6 +1406,8 @@ static void end_scan_impl(Genesys_Device* dev, Genesys_Register_Set* reg, bool c
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dev->interface->sleep_ms(100);
|
||||||
|
|
||||||
if (check_stop) {
|
if (check_stop) {
|
||||||
for (unsigned i = 0; i < wait_limit_seconds * 10; i++) {
|
for (unsigned i = 0; i < wait_limit_seconds * 10; i++) {
|
||||||
if (scanner_is_motor_stopped(*dev)) {
|
if (scanner_is_motor_stopped(*dev)) {
|
||||||
|
|
Ładowanie…
Reference in New Issue