genesys: Add extra sleep during scan stop for gl646

merge-requests/213/head
Povilas Kanapickas 2019-12-26 17:13:23 +02:00
rodzic 4bf176c73e
commit e2bb81ef01
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1406,6 +1406,8 @@ static void end_scan_impl(Genesys_Device* dev, Genesys_Register_Set* reg, bool c
return;
}
dev->interface->sleep_ms(100);
if (check_stop) {
for (unsigned i = 0; i < wait_limit_seconds * 10; i++) {
if (scanner_is_motor_stopped(*dev)) {