diff --git a/ICD.Common.Utils/ThreadingUtils.cs b/ICD.Common.Utils/ThreadingUtils.cs index 8ecb48e..34dad6e 100644 --- a/ICD.Common.Utils/ThreadingUtils.cs +++ b/ICD.Common.Utils/ThreadingUtils.cs @@ -16,10 +16,10 @@ namespace ICD.Common.Utils /// Puts the current thread to sleep for the given amount of time. /// /// - public static void Sleep(long milliseconds) + public static void Sleep(int milliseconds) { #if SIMPLSHARP - throw new NotImplementedException(); + CrestronEnvironment.Sleep(milliseconds); #else Task.Delay(TimeSpan.FromMilliseconds(milliseconds)).Wait(); #endif