补充休眠时传递值为-1的情况
This commit is contained in:
parent
c32ef38bf9
commit
74830669e8
|
@ -188,6 +188,8 @@ class test
|
|||
{
|
||||
power = (SANE_Power)i;
|
||||
}
|
||||
else
|
||||
power = SANE_POWER_NONE;
|
||||
}
|
||||
int ret = helper_->io_control(IO_CTRL_CODE_SET_POWER_LEVEL, &power, &len);
|
||||
if (ret != SCANNER_ERR_OK)
|
||||
|
|
Loading…
Reference in New Issue