export LMS_TransferLMS64C as C style function
this function is used by pyLMS7002M
@@ -1370,7 +1370,7 @@ API_EXPORT void LMS_RegisterLogHandler(LMS_LogHandler handler)
api_msg_handler = handler;
}
-API_EXPORT int CALL_CONV LMS_TransferLMS64C(lms_device_t *dev, int cmd, uint8_t* data, size_t *len)
+extern "C" API_EXPORT int CALL_CONV LMS_TransferLMS64C(lms_device_t *dev, int cmd, uint8_t* data, size_t *len)
{
if (dev == nullptr)
{
