扫描线程结束后判断是否无纸
This commit is contained in:
parent
08bda3ef77
commit
63aaa99cc1
|
@ -1511,6 +1511,10 @@ void hg_scanner_239::thread_handle_usb_read(void)
|
||||||
|
|
||||||
this_thread::sleep_for(chrono::milliseconds(10));
|
this_thread::sleep_for(chrono::milliseconds(10));
|
||||||
}
|
}
|
||||||
|
if (status_ == SCANNER_ERR_DEVICE_STOPPED)
|
||||||
|
{
|
||||||
|
status_ = ret = get_scanner_paperon();
|
||||||
|
}
|
||||||
VLOG_MINI_2(LOG_LEVEL_DEBUG_INFO, "USB thread exit with code: %s, status = %s\n", hg_scanner_err_name(ret), hg_scanner_err_name(status_));
|
VLOG_MINI_2(LOG_LEVEL_DEBUG_INFO, "USB thread exit with code: %s, status = %s\n", hg_scanner_err_name(ret), hg_scanner_err_name(status_));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue