线程不在加设备准备状态提醒,start 时返回错误码
This commit is contained in:
parent
00f56eab54
commit
9bd7a2acff
|
@ -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_)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue