Selaa lähdekoodia

#IQRV #comment [Vendor] gwi/2021.0820.01

gifur 4 vuotta sitten
vanhempi
sitoutus
34155b636f

+ 1 - 1
DevAdapter/CMakeLists.txt

@@ -143,7 +143,7 @@ if(DEVADAPTER_USING_CONAN)
 	set(NANTIAN_CONAN_LIB_NAME nantian/2021.0629.01@LR04.02_VendorLib/testing)
 	set(GRG_CONAN_LIB_NAME grg/2021.0812.01@LR04.02_VendorLib/testing)
 	set(CW_CONAN_LIB_NAME cw/2021.0701.01@LR04.02_VendorLib/testing)
-    set(GWI_CONAN_LIB_NAME gwi/2021.0809.01@LR04.02_VendorLib/testing)
+    set(GWI_CONAN_LIB_NAME gwi/2021.0820.01@LR04.02_VendorLib/testing)
 endif(DEVADAPTER_USING_CONAN)
  
     file(GLOB all_valid_subdirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/CMakeLists.txt")

+ 1 - 1
DevAdapter/gwi/HSPScanner.1.1/HSPScannerDriverGWI.cpp

@@ -434,7 +434,7 @@ ErrorCodeEnum CHSPScanner::SetViewPos(int nX, int nY, int nWidth)
 	if(nX<0||nY<0||nWidth<0)
 	{
 		LogARG(m_plogFile, Log_Infor, "SetViewPos", "invalid data return 0");
-		return ErrParse(GWI_Error_Succeed); 
+		return Error_Param; 
 	}
 	LogARG(m_plogFile, Log_Infor, "SetViewPos", "Enter, nX[%d], nY[%d], nWidth[%d]", nX, nY, nWidth);
 	long lResult = 0;