调整start 运行流程

This commit is contained in:
13038267101 2022-10-12 14:26:29 +08:00
parent 5642bfdecb
commit a2dd7745b9
1 changed files with 4 additions and 4 deletions

View File

@ -1739,17 +1739,17 @@ void hg_scanner_239::thread_handle_usb_read(void)
int hg_scanner_239::start(void)
{
on_is_auto_paper(is_auto_paper_scan);
split3399_ = 0;
bool handled = false;
int ret = try_third_app_handle_start(handled),
val = 0;
val = 0;
// for third-sane-app invoking, added on 2022-05-19
if (handled)
return ret;
user_cancel_ = false;
on_is_auto_paper(is_auto_paper_scan);
split3399_ = 0;
cb_mem_ = true;
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "scanner status: 0x%x\n", get_status());
notify_ui_working_status(STATU_DESC_PREPARE_START);