This commit is contained in:
13038267101 2022-10-28 16:37:10 +08:00
commit ddb4c4598f
1 changed files with 4 additions and 0 deletions

View File

@ -1511,6 +1511,10 @@ void hg_scanner_239::thread_handle_usb_read(void)
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_));
}