畸变调整

This commit is contained in:
13038267101 2022-12-31 12:10:28 +08:00
parent 8f37d2baa9
commit d6cb1ca104
1 changed files with 5 additions and 3 deletions

View File

@ -190,11 +190,13 @@ public:
int len = sizeof(buf) / sizeof(buf[0]);
wstr.resize(len);
wstr = buf;
}
SANE_Bool close = false;
unsigned int len = sizeof(SANE_Bool);
unsigned int closelen = sizeof(SANE_Bool);
ret = h->io_control(IO_CTRL_CODE_GET_DPI_COLOR_CHECK_VAL, &close, &closelen);//结束恢复默认
}
ret = h->io_control(IO_CTRL_CODE_RESTORE_SETTINGS, NULL, NULL);//结束恢复默认
ret = h->io_control(IO_CTRL_CODE_GET_DPI_COLOR_CHECK_VAL, &close, &len);//结束恢复默认
h->test_callback(set_test_name_.c_str(), ui_helper::TEST_EVENT_RESULT, (void*)wstr.c_str(), type);
}
break;