diff options
-rwxr-xr-x | ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp index 8b92055d..486224c9 100755 --- a/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp +++ b/ftnoir_protocol_fsuipc/ftnoir_protocol_fsuipc.cpp @@ -39,7 +39,8 @@ FTNoIR_Protocol::FTNoIR_Protocol() FTNoIR_Protocol::~FTNoIR_Protocol() { - FSUIPCLib.unload(); + FSUIPC_Close(); + FSUIPCLib.unload(); } int FTNoIR_Protocol::scale2AnalogLimits( float x, float min_x, float max_x ) { |