From 00ef87ab2a1cc4fdee7268eaa07c6ed495ba4016 Mon Sep 17 00:00:00 2001 From: zhangzhuo Date: Mon, 21 Mar 2022 14:11:34 +0800 Subject: [PATCH] =?UTF-8?q?1.bug=E4=BF=AE=E5=A4=8D=E3=80=82QEPro=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=9C=80=E5=B0=8F=E6=9B=9D=E5=85=89=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=9C=AA=E6=8D=A2=E7=AE=97=E5=88=B0=E6=AF=AB=E7=A7=92=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E8=87=AA=E5=8A=A8=E6=9B=9D=E5=85=89=E5=87=BA?= =?UTF-8?q?=E9=94=99=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/FS/OControl_USB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/FS/OControl_USB.cpp b/source/FS/OControl_USB.cpp index aea8c47..517cc20 100644 --- a/source/FS/OControl_USB.cpp +++ b/source/FS/OControl_USB.cpp @@ -465,7 +465,7 @@ int OceanOptics_lib::GetDeviceAttribute(DeviceAttribute &Attr) long minimum_time; minimum_time = seabreeze_get_min_integration_time_microsec(m_iSpectralmeterHandle, &error); - Attr.iMinIntegrationTimeInMS = minimum_time; + Attr.iMinIntegrationTimeInMS = (int)((double)minimum_time / (double)1000); Attr.iMaxIntegrationTimeInMS = 60000; if (spec_length > 0) {