获取畸变值

This commit is contained in:
13038267101 2023-01-10 14:56:27 +08:00
parent 8df03506e1
commit 72a3fb3bc2
1 changed files with 1 additions and 0 deletions

View File

@ -857,6 +857,7 @@ int hg_scanner_300::get_devs_distortion_check_val(int& data)
int ret = SCANNER_ERR_OK, int ret = SCANNER_ERR_OK,
len = 0; len = 0;
USBCB usbcb = { setting3288dsp::GET_JUST_COF_V ,0,resolution_ }; USBCB usbcb = { setting3288dsp::GET_JUST_COF_V ,0,resolution_ };
len = sizeof(usbcb);
ret = io_->write_bulk(&usbcb, &len); ret = io_->write_bulk(&usbcb, &len);
if (ret == SCANNER_ERR_OK) if (ret == SCANNER_ERR_OK)
{ {