线程不在加设备准备状态提醒,start 时返回错误码

This commit is contained in:
13038267101 2023-06-02 10:38:27 +08:00
parent 00f56eab54
commit 9bd7a2acff
1 changed files with 2 additions and 2 deletions

View File

@ -369,10 +369,10 @@ void hg_scanner::thread_read_int(void)
if (is_read_int && is_firstopen_ && pid_ == 0x300) if (is_read_int && is_firstopen_ && pid_ == 0x300)
{ {
is_read_int = true; is_read_int = true;
notify_ui_working_status(STATU_DESC_SCANNER_ERR_DEVICE_DEVS_BOOTING, SANE_EVENT_STATUS, status_); //notify_ui_working_status(STATU_DESC_SCANNER_ERR_DEVICE_DEVS_BOOTING, SANE_EVENT_STATUS, status_);
//discard_all_images(); //discard_all_images();
set_updata0303(); set_updata0303();
notify_ui_working_status(STATU_DESC_SCANNER_ERR_DEVICE_DEVS_START_SUCCES, SANE_EVENT_STATUS, status_); //notify_ui_working_status(STATU_DESC_SCANNER_ERR_DEVICE_DEVS_START_SUCCES, SANE_EVENT_STATUS, status_);
} }
if (is_firstopen_) if (is_firstopen_)
{ {