From 8954e0cc0d2f0eed31da900d0673888a2351c5cf Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 15 Oct 2024 11:32:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=89=AB=E6=8F=8F=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E6=81=A2=E5=A4=8D=E9=BB=98=E8=AE=A4=E8=80=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E7=B3=BB=E5=88=97=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/base/test_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/base/test_base.cpp b/code/base/test_base.cpp index 6a26055..a053771 100644 --- a/code/base/test_base.cpp +++ b/code/base/test_base.cpp @@ -585,7 +585,7 @@ static int sane_ex_callback(SANE_Handle hdev, int code, void* data, unsigned int h->test_callback(set_test_name_.c_str(), ui_helper::TEST_EVENT_RESULT, (void*)buf, type); } - h->io_control(IO_CTRL_CODE_RESTORE_SETTINGS, NULL, NULL);//结束恢复默认 + //h->io_control(IO_CTRL_CODE_RESTORE_SETTINGS, NULL, NULL);//结束恢复默认 unsigned int l = 0; bool isOriImg = false; int ret = h->io_control(IO_CTRL_CODE_ORIGINAL_IMAGE, (void*)&isOriImg, &l);