新增302设备锁定定义

This commit is contained in:
modehua 2023-03-24 11:51:41 +08:00
parent 3af75d1b5d
commit c7b479d0fd
1 changed files with 2 additions and 0 deletions

View File

@ -1054,6 +1054,8 @@ int hg_scanner_302::start(void)
ret = status_ = SCANNER_ERR_DEVICE_PAPER_JAMMED;
else if (val == 3)
ret = status_ = SCANNER_ERR_DEVICE_NO_PAPER;
else if (val == 5)
ret = status_ = SCANNER_ERR_DEVICE_ISLOCK;
else
{
VLOG_MINI_2(LOG_LEVEL_WARNING, "consider as success on SR_GET_ANDROID_STATE(%d) result: %s\n", val, hg_scanner_err_name(ret));