微调239带纸扫描

This commit is contained in:
13038267101 2023-11-28 11:38:31 +08:00
parent c8e913569f
commit 833048a97c
1 changed files with 2 additions and 3 deletions

View File

@ -1394,6 +1394,7 @@ void hg_scanner_239::thread_get_dves_image(void)
break;
}
sw.reset();
sw1.reset();
if (size == sizeof(buf))
{
@ -1439,6 +1440,7 @@ void hg_scanner_239::thread_get_dves_image(void)
}
else if (info->From == setting3399::STOPSCAN)//鍥轰欢鐗堟湰:3B0326鑾峰彇鏃犵焊鏃讹紝涓嬮潰涓柇淇℃伅浼氬厛鍙戞棤绾稿湪鍋滄鎵弿,鐒跺悗鍦ㄥ彂鏃犵焊
{ //姝ゆ椂int绔偣杩樿淇℃伅娌℃湁璇诲彇瀹岋紝鑰屼笖閫€鍑虹偣鍑荤户缁壂鎻忥紝涓嬮潰璁惧杩樻湭缁撴潫鎵弿
sw1.reset();
if (!svdevs_err_.empty())
{
status_ = svdevs_err_.front();
@ -1502,10 +1504,7 @@ void hg_scanner_239::thread_get_dves_image(void)
str += ":" + to_string(++auoto_paper_indx);
if (!user_cancel_ && is_auto_scan() && svdevs_err_.empty() && !is_quit_wait_paper_scan)
{
sw1.reset();
notify_ui_working_status(str.c_str(), SANE_EVENT_ERROR, status_);
}
else
break;
}