调整设置序列号
This commit is contained in:
parent
e44091cb26
commit
8fc40dca47
|
@ -162,7 +162,7 @@ class test
|
|||
unsigned int setlen = set_sn.size(),
|
||||
getlen = 0;
|
||||
|
||||
ret = helper_->io_control(IO_CTRL_CODE_SET_SERIAL, &set_sn, &setlen);
|
||||
ret = helper_->io_control(IO_CTRL_CODE_SET_SERIAL, &set_sn[0], &setlen);
|
||||
|
||||
if (ret != SCANNER_ERR_OK)return ret;
|
||||
|
||||
|
|
Loading…
Reference in New Issue