From 53291379209ada0d711e3e0dee9b9cf9de7cece5 Mon Sep 17 00:00:00 2001 From: Anders Mellbratt Date: Mon, 11 Jan 2021 00:15:11 +0100 Subject: [PATCH] Update LEPTON_SDK.c Had to make these changes for it to compile on macOS Catalina 10.15.7 and Qt 5.15.2 --- lepton_sdk/Src/LEPTON_SDK.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lepton_sdk/Src/LEPTON_SDK.c b/lepton_sdk/Src/LEPTON_SDK.c index 01c34b9..6ebba50 100644 --- a/lepton_sdk/Src/LEPTON_SDK.c +++ b/lepton_sdk/Src/LEPTON_SDK.c @@ -139,7 +139,7 @@ LEP_RESULT LEP_GetAttribute(LEP_CAMERA_PORT_DESC_T_PTR portDescPtr, } else if ( portDescPtr->portType == LEP_CCI_UVC ) { - result = UVC_GetAttribute(portDescPtr, commandID, attributePtr, attributeWordLength); + result = LEP_GetAttribute(portDescPtr, commandID, attributePtr, attributeWordLength); } else result = LEP_COMM_INVALID_PORT_ERROR; @@ -185,7 +185,7 @@ LEP_RESULT LEP_SetAttribute(LEP_CAMERA_PORT_DESC_T_PTR portDescPtr, } else if ( portDescPtr->portType == LEP_CCI_UVC ) { - result = UVC_SetAttribute(portDescPtr, commandID, attributePtr, attributeWordLength); + result = LEP_SetAttribute(portDescPtr, commandID, attributePtr, attributeWordLength); } else result = LEP_COMM_INVALID_PORT_ERROR; @@ -224,7 +224,7 @@ LEP_RESULT LEP_RunCommand(LEP_CAMERA_PORT_DESC_T_PTR portDescPtr, } else if ( portDescPtr->portType == LEP_CCI_UVC ) { - result = UVC_RunCommand(portDescPtr, commandID); + result = LEP_RunCommand(portDescPtr, commandID); } else result = LEP_COMM_INVALID_PORT_ERROR;