扫描无图时,如果为正常结束则返回正常状态
This commit is contained in:
parent
e522398781
commit
77a0c7e176
|
@ -1487,6 +1487,9 @@ void hg_scanner_239::thread_get_dves_image(void)
|
|||
// reset_ = true;
|
||||
// ret = io_->reset();
|
||||
// status_ = SCANNER_ERR_IO;
|
||||
|
||||
if (status_ == SCANNER_ERR_DEVICE_STOPPED)
|
||||
status_ = SCANNER_ERR_OK;
|
||||
}
|
||||
else if (status_ == SCANNER_ERR_TIMEOUT || status_ == SCANNER_ERR_IO || status_ == SCANNER_ERR_DEVICE_STOPPED)
|
||||
status_ = SCANNER_ERR_OK;
|
||||
|
|
Loading…
Reference in New Issue