调整状态4返回的错误代码
This commit is contained in:
parent
65acfab584
commit
c244731836
|
@ -1078,7 +1078,7 @@ int hg_scanner_302::start(void)
|
||||||
ret = status_ = SCANNER_ERR_DEVICE_ISLOCK;
|
ret = status_ = SCANNER_ERR_DEVICE_ISLOCK;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ret = status_ = SCANNER_ERR_OUT_OF_RANGE;
|
ret = status_ = SCANNER_ERR_DEVICE_UNKNOWN_STATUS;
|
||||||
VLOG_MINI_2(LOG_LEVEL_WARNING, "The device is abnormal(%d) and can not be scanned : %s\n", val, hg_scanner_err_name(ret));
|
VLOG_MINI_2(LOG_LEVEL_WARNING, "The device is abnormal(%d) and can not be scanned : %s\n", val, hg_scanner_err_name(ret));
|
||||||
//break;
|
//break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue