Merge remote-tracking branch 'origin/zhangzhuo'

# Conflicts:
#	source/CaptureThread/Scheduler.cpp
This commit is contained in:
xin
2022-03-21 16:46:12 +08:00
5 changed files with 33 additions and 3 deletions

View File

@ -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) {