调整设置序列号

This commit is contained in:
13038267101 2023-01-04 18:12:16 +08:00
parent e44091cb26
commit 8fc40dca47
1 changed files with 1 additions and 1 deletions

View File

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