From 1b2db2a7c3aee664432b32b7e0753cb0e0af0204 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 10 Jan 2023 10:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87usb=E5=88=B0=E8=BE=BE?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E9=80=9A=E7=9F=A5=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/HGProductionTool/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/HGProductionTool/mainwindow.cpp b/app/HGProductionTool/mainwindow.cpp index f4cbb7f..525ac9e 100644 --- a/app/HGProductionTool/mainwindow.cpp +++ b/app/HGProductionTool/mainwindow.cpp @@ -318,6 +318,8 @@ int MainWindow::sane_ex_callback(SANE_Handle hdev, int code, void *data, unsigne if (SANE_EVENT_DEVICE_ARRIVED == code) { SANE_Device_Ex* sane_dev = (SANE_Device_Ex*)data; + + Sleep(5000); emit p->sane_dev_arrive(sane_dev->name); } else if (SANE_EVENT_DEVICE_LEFT == code)