3399设备增加固件升级失败的返回值
This commit is contained in:
parent
57814455dc
commit
70fc147c6e
|
@ -2125,6 +2125,10 @@ int hg_scanner_239::set_firmware_upgrade(std::string filename)
|
|||
{
|
||||
return ret;
|
||||
}
|
||||
if (val == 1)
|
||||
{
|
||||
return SCANNER_ERR_DEVICE_UPGRADE_FAIL;
|
||||
}
|
||||
if (val == 2)
|
||||
{
|
||||
int ret = read_register(setting3399::SR_UPDATA_REBOOT, &val);
|
||||
|
|
Loading…
Reference in New Issue