From e215d5a69990539af6c83aaa2b9e34e8fc531b0b Mon Sep 17 00:00:00 2001 From: Jason Jonkman Date: Mon, 10 May 2021 17:43:41 -0600 Subject: [PATCH 1/2] Fixed a Small Bug in ServoDyn All this bug does is write unnecessary messages to the screen, e.g., "Using legacy Bladed DLL interface." --- modules/servodyn/src/BladedInterface.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/servodyn/src/BladedInterface.f90 b/modules/servodyn/src/BladedInterface.f90 index 0b5c2c2389..a27aa0fbc9 100644 --- a/modules/servodyn/src/BladedInterface.f90 +++ b/modules/servodyn/src/BladedInterface.f90 @@ -308,7 +308,7 @@ SUBROUTINE BladedInterface_Init(u, p, m, xd, y, InputFileData, InitInp, ErrStat, CALL DispNVD( BladedInterface_Ver ) ! Display the version of this interface - p%UseLegacyInterface = InputFileData%UseLegacyInterface + p%UseLegacyInterface = .TRUE. !InputFileData%UseLegacyInterface m%dll_data%Ptch_Cntrl = InputFileData%Ptch_Cntrl m%dll_data%Gain_OM = InputFileData%Gain_OM ! Optimal mode gain (Nm/(rad/s)^2) From a25561aaf046dc988edef5892d2a20ee6da7be6c Mon Sep 17 00:00:00 2001 From: Jason Jonkman Date: Mon, 10 May 2021 17:05:00 -0600 Subject: [PATCH 2/2] Add Missing Attribute for sc_end in the FAST.Farm Super Controller The !DEC$ ATTRIBUTES DLLEXPORT was missing for sc_end and has now been added. --- modules/supercontroller/src/SC_DLL.F90 | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/supercontroller/src/SC_DLL.F90 b/modules/supercontroller/src/SC_DLL.F90 index 0b3f3d09bb..7d138a3762 100644 --- a/modules/supercontroller/src/SC_DLL.F90 +++ b/modules/supercontroller/src/SC_DLL.F90 @@ -305,6 +305,7 @@ subroutine sc_end ( errStat, errMsg ) bind (C, NAME='sc_end') implicit none #ifndef IMPLICIT_DLLEXPORT +!DEC$ ATTRIBUTES DLLEXPORT :: sc_end !GCC$ ATTRIBUTES DLLEXPORT :: sc_end #endif