调整状态4返回的错误代码

This commit is contained in:
gb 2023-06-02 11:31:07 +08:00
parent 65acfab584
commit c244731836
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }