From f321b7228d03b891eb96ed791deba5f2bd3f8dca Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 7 Jun 2018 15:57:36 -0500 Subject: [PATCH] Remove unused SetUpdateCallback. We set the update callback on start. --- smx-config/CurrentSMXDevice.cs | 1 - smx-config/SMX.cs | 5 ----- 2 files changed, 6 deletions(-) diff --git a/smx-config/CurrentSMXDevice.cs b/smx-config/CurrentSMXDevice.cs index 52f21a0..7399d30 100644 --- a/smx-config/CurrentSMXDevice.cs +++ b/smx-config/CurrentSMXDevice.cs @@ -80,7 +80,6 @@ namespace smx_config public void Shutdown() { - SMX.SMX.SetUpdateCallback(null); SMX.SMX.Stop(); } diff --git a/smx-config/SMX.cs b/smx-config/SMX.cs index c319119..4aa2130 100644 --- a/smx-config/SMX.cs +++ b/smx-config/SMX.cs @@ -240,11 +240,6 @@ namespace SMX [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public delegate void InternalUpdateCallback(int PadNumber, int reason, IntPtr user); private static InternalUpdateCallback CurrentUpdateCallback; - public static void SetUpdateCallback(UpdateCallback callback) - { - if(!DLLAvailable()) return; - - } public static void Start(UpdateCallback callback) {